- Home /
unable to download & load particular scene in iPhone Project
I have my unity scenes (.unity3d) on the web. Now i am using the WWW.LoadFromCacheOrDownload to download the scene. After that, i am using the Application.LoadLevelAdditiveAsync to load the downloaded scene, but when i build and run the project, it is not displaying the downloaded scene. Log file says that scene can't be loaded because it is not included in the build settings. It says that to load the scene,initially incude that scene in File -->Build settings --> scenes in build. I am new to unity, tried a lot but unable to figure out where the problem is. Please help me out. Any little help will be a lot to me.
Answer by Eric5h5 · Jan 07, 2013 at 07:56 AM
What you're trying to do is not possible, since any LoadLevel function only works with levels included in the build. Instead you would need to use AssetBundles (Pro only).
Answer by MarkFinn · Jan 07, 2013 at 06:59 AM
In editor, hit Ctrl-Shift-B
This will open the build settings window.
Make sure all the scenes you use are listed in the "Scenes in Build" window.
If any are missing, open them in the editor and click the "Add Current" button in the build settings window.
I have already done with this and it is running successfully. But i want to download & load the scene without including in "Scenes in Build".
Is it neccessary to incude all the scenes in "Scenes in Build" before running it ?
Ah, sorry, I misunderstood the question.
I'm not sure of the workings of the iPhone scene loading from server.
oh..sorry..mistake is $$anonymous$$e..i haven't mentioned that (i.e. I have already done by including scenes) in the question.
Your answer
Follow this Question
Related Questions
iPhone StoreKit implementation problem 2 Answers
Error linker IOS / Unity - XcODE 2 Answers
Xcode build crashes 0 Answers
Unity modules for iOS? 1 Answer
Can I use unity 3d as a component of UI in ipad app? 0 Answers