-
Notifications
You must be signed in to change notification settings - Fork 400
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
ios真机运行 #28
Comments
assetbundle.Unload(unloadAllLoadedObjects); 这个地方 会出现依赖被卸载的情况 unity2018.2 ios下 |
看起来是AB还在异步加载,就调用了卸载操作,你什么时候手动调用的卸载? |
用这个可以判断 |
void OnProsessingAssetBundleAsyncLoader() |
你拉下最新代码试试,这个代码已经是旧的了,然后刚刚又修复了一个问题:
|
嗯 我修改了 真机尝试 资源还是会被卸载,我把UnloadAssetBundle(loader.assetbundleName);注释掉就没有用问题。不知道这一句注释掉之后 会有什么影响 |
问题解决了
|
这种方式没有解决根本问题,我再找找原因,这里本意是去除创建器引用 |
嗯 好的 |
请问下,这个问题有后续吗? |
我今天更新了一下你的新提交 发现在ios真机运行 Ensure all async operations are complete before unloading bundles.
The text was updated successfully, but these errors were encountered: