Quantcast
Channel: Questions in topic: "assetbundle"
Viewing all articles
Browse latest Browse all 1593

Load scene from asset bundle

$
0
0
I have asset bundle with single asset -> "Assets/scene.unity". I try to instantiate my scene on Android with Unity 5: string[] scenePath = bundle.GetAllScenePaths(); Debug.Log(scenePath[0]); // -> "Assets/scene.unity" Object myScene = bundle.LoadAsset(scenePath[0]); if(myScene != null) Instantiate(myScene); However, myScene is null. Can you please help?

Viewing all articles
Browse latest Browse all 1593

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>