- Home /
Application.Loadlevel taking time to load scene
I'm using Vuforia ImageTarget. I have button on change the scene. When i click the button, it taking 5 to 10sec to load the next scene. Even i used AboutScreenmanager.cs script start button also. It taking time to load my second scene. Why?
GUI.skin.button = startbtnstyle;
if(GUILayout.Button("Start", startbtnstyle)){
Application.LoadLevel("25Nov1");
}
No i mean the mobile phone.What i meant was, maybe it has sth to do with power of the device?If there is any demo i can test it for you?
Answer by haim96 · Dec 30, 2013 at 04:45 PM
it depend on how many assets you load with your scene. do you have a lot of models and audio loading with the scene?
what happen if you try to load empty scene? if it load fast then you loading something heavy that take time to load.
then you should look into your assets and script. what i have done in my game is showing splash screen in AWA$$anonymous$$E() and then run corutine that use resource.load and update the splash screen progress bar. this way scene may take time to load but it doesn't looks freeze.