- Home /
Question by
techmage · Jan 11, 2015 at 05:57 PM ·
iosassetbundle
LoadLevel after loading a streamed asset bundle scene causes crash on iOS.
So I am a doin' this:
currentLevelAssetBundle = AssetBundle.CreateFromFile(path); if (currentLevelAssetBundle != null && Application.CanStreamedLevelBeLoaded(level)) { Application.LoadLevel(level); }
in order to load a StreamingAssetBundle scene. The scene loads just fine no issues. But ANY LoadLevel calls after that cause it crash. PLEASE HELP. I can't seem to figure this out.
Comment
Answer by thomasostfeld · Feb 24, 2016 at 01:08 PM
I struggled with the same issue for an entire day. It worked fine in the editor, but always crashed on iOS. The fix for me was disabling Strip Engine Code in the iOS Player Settings. (Happened to me with Unity 5)
This answer is probably too late, but I hope it can help others with the same issue.
Your answer
