Hi,
I implemented asset bundles. I'm loading all levels from them and levels are loaded ok .But now when I try to destroy root object of loaded level, game will crash.
It happens only on iOS. There is NO error or exception in editor. I've noticed that game will not crash when I include desired level in BuildSettings. (but still loading it from asset bundle). I am imagining why **ActivateAwakeRecursively** is called when destroying the objects ... this is strange for me. We are using unity 5.1.2p2 since there was some fix with crashes and AssetBundles, but unfortunately it didn't help.
Exception Type: EXC_CRASH (SIGSEGV)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 1
Thread 0:
0 soldiers 0x00edca90 Unity::GameObject::ActivateAwakeRecursivelyInternal(Unity::DeactivateOperation, AwakeFromLoadQueue&) (GameObject.cpp:209)
1 soldiers 0x00edcb3e Unity::GameObject::ActivateAwakeRecursively(Unity::DeactivateOperation) (GameObject.cpp:223)
2 soldiers 0x00fd599e DestroyGameObjectHierarchy(Unity::GameObject&) (GameObjectUtility.cpp:1307)
3 soldiers 0x00fd5c7a DestroyObjectHighLevel(Object*, bool) (GameObjectUtility.cpp:1468)
4 soldiers 0x00f5da44 DelayedCallManager::Update(int) (CallDelayed.cpp:178)
5 soldiers 0x00fdb2a4 PlayerLoop(bool, bool, IHookEvent*) (Player.cpp:1920)
6 soldiers 0x00e49332 UnityPlayerLoopImpl(bool)
↧