You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AssetsManagerEx: detects a new version update, but when diffMap.empty(), calling updateSucceed() will directly cause a crash if (diffMap.empty()) { updateSucceed(); return; }
Current modification plan:
updateSucceed() Call it in the main thread
Or put it in the prepareFinished function if(_sizeDiffMap == 0){ updateSucceed(); }
Can be solved
Cocos Creator version
3.8.5
System information
iOS,android
Issue description
AssetsManagerEx: detects a new version update, but when diffMap.empty(), calling updateSucceed() will directly cause a crash
if (diffMap.empty()) { updateSucceed(); return; }
Current modification plan:
updateSucceed() Call it in the main thread
Or put it in the prepareFinished function
if(_sizeDiffMap == 0){ updateSucceed(); }
Can be solved
Relevant error log output
v8::HandleScope::HandleScope(v8::Isolate*) + 36
1
Ftest-mobile
se::AutoHandleScope::AutoHandleScope() + 40
2
Ftest-mobile
se::AutoHandleScope::AutoHandleScope() + 40
3
Ftest-mobile
se::AutoHandleScope::AutoHandleScope() + 28
4
Ftest-mobile
bool sevalue_to_nativecc::extension::EventAssetsManagerEx*(se::Value const&, std::__1::function<void (cc::extension::EventAssetsManagerEx*)>, se::Object)::'lambda'(cc::extension::EventAssetsManagerEx*)::operator()(cc::extension::EventAssetsManagerEx*) const + 36
Steps to reproduce
1、detects a new version update
2、but diffMap.empty()
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: