Skip to content

两个异常请问一下 #30

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

Closed
Wangxuan0528 opened this issue Apr 21, 2025 · 2 comments
Closed

两个异常请问一下 #30

Wangxuan0528 opened this issue Apr 21, 2025 · 2 comments

Comments

@Wangxuan0528
Copy link

Wangxuan0528 commented Apr 21, 2025

1.DeploymentConfig构建资源时,热更代码CRC正常,但是ab包的CRC是空。
2.代码中设置ab地址:Main.m_Resource.SetAssetBundlePath(Application.persistentDataPath + "/LocalResource/");,但是加载时,报错HTFrameworkException: [Resource]请求:C:/Users/WX/AppData/LocalLow/DefaultCompany/HTFramework/LocalResource/StandaloneWindows 未加载到AB包!这个多出来的StandaloneWindows是我填写的mainfest的名称,这个名称为啥会被添加到ab地址中?

@SaiTingHu
Copy link
Owner

1.先构建对应平台的AB包,再构建版本,应该就是正常的;
2......./LocalResource/StandaloneWindows 表明是在加载名为StandaloneWindows的AB包清单文件(无后缀),加载出错,则证明AB包未放入该路径(....../LocalResource/)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants