- Home /
Listing Scenes in assebundle
Hello
Is there any way to know the contents of an asset bundle built using
BuildPipeline.BuildStreamedSceneAssetBundle(objects, path, BuildTarget.WebPlayer);
When i pack models, textures, and other assets into an asset bundle, i can use "LoadAll" and list their names. But when I use LoadAll on an asset bundle with scenes only, nothing is loaded.
The asset bundle is being created properly, because this works:
Application.LoadLevelAdditive("SceneA");
The thing is, I do not want to Hardcode the Scene to be loaded. If Asset Bundles were made to let us load assets dinamically, we shouldn't be supposed to know their names beforehand.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
How to, tell apart, Instance or Instantiated GameObject vs Loaded GameObject. 0 Answers
Getting the assets inside a bundle from unity 5 vs Unity 4 0 Answers
Deserialize .XML file from AssetBundle? 0 Answers
I want to load object from my computer or google drive. 1 Answer