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

LoadLanguage 中如果用await m_ResourceManager.LoadAssetAsync<TextAsset>(assetName);报错 #93

Open
yingnierxiao opened this issue Aug 14, 2024 · 0 comments

Comments

@yingnierxiao
Copy link

LoadLanguage 中如果用await m_ResourceManager.LoadAssetAsync(assetName);报错,再m_ResourceManager还没初始化完的情况, AssetObject assetObject = m_AssetPool.Spawn(assetObjectKey); 的m_AssetPool还没初始化,这样需要等待Yooasset初始化完成才能加载数据,这个各个模块的异步顺序初始化还很有必要的

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

1 participant