- Home /
Why does U4 hang when trying to load an Asset Bundle scene?
I am trying to load an asset bundle (which contains a scene) which downloads fine, but as soon as I do the Application.LoadLevel(assetBundleName); command Unity 4 freezes up.
Any ideas?
I can post the code if needed.
Cheers
Asset bundles don't usually contain scenes. What makes you think this asset bundle is a scene? The AssetBundle docs show how to access their contents.
I saved the scene as an asset bundle. I've done it before with other scenes with no problem (in U3 and other projects). Rather than instantiating an asset bundle's main asset for example, you should just be able to call LoadLevel on the asset bundle to load the scene contain within.
Hello - did you ever solve this problem? I am having the exact same issue. Everything works until I try to Application.LoadLevel("blah");
Thank you in advance!
Wow I figured it out - the problem was in the scene I was trying to load.
Your answer
Follow this Question
Related Questions
Long freeze when loading level from asset bundle in Application.Integrate Assets in Background 1 Answer
AssetBundle.LoadAssetAsync case freezing in Unity5.5.0p1 5 Answers
Scene Asset Bundle - LoadLevelAdditive and OnLevelWasLoaded 1 Answer
LoadLevel + LoadLeveAsync = freeze? 1 Answer
RenderSettings in AssetBundles 3 Answers