Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

构建资源路径错误 #18177

Open
hubluesky opened this issue Jan 13, 2025 · 0 comments
Open

构建资源路径错误 #18177

hubluesky opened this issue Jan 13, 2025 · 0 comments
Assignees
Labels
Bug Needs Triage Needs to be assigned by the team

Comments

@hubluesky
Copy link

Cocos Creator version

3.8.5

System information

windows

Issue description

构建web-mobile时,在onAfterBuild的钩子回调,调用result.getAssetPathInfo返回路径不正确。

Relevant error log output

No response

Steps to reproduce

bug1:json资源在onAfterBuild的result.getAssetPathInfo(uuid),返回的assetPathInfo里没有这个json构建后存放的路径。还有这个json构建后会被添加序列号数据,我能不能自己指定,要不要添加这些数据。
bug2:只带动画的fbx文件(带其它的有没有问题,我没有测)在onAfterBuild的result.getAssetPathInfo(uuid),返回的assetPathInfo.raw路径是错误的,比如返回的是assets\resources\native\ab\[email protected],实际上是在assets\resources\import\ab\[email protected],就是没在native里面,而是在import里,这个bug很多年了。

Minimal reproduction project

No response

@hubluesky hubluesky added Bug Needs Triage Needs to be assigned by the team labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

2 participants