I’m working on a simple kids game for iOS, and somehow it takes 12 seconds for the game to load from splash screen to the actual first scene (on iPad 2/3, iPad 4 is 8 sec. - still too long)
I guess that’s because I have 27 scenes in this game and each scene weigh about 15 Mb.
do you know of any way or a trick to make the game load faster? (even in the cost of loading scenes later)
Can you show the scene loading code here ?
From what I recall, ipad1 loading times were pretty high, but
if the scenes are not that heavy, ipad2/3 should load pretty
quick.
You can even check it in the Unity Editor Heirarchy view if perchance
you are loading something that is not necessary…or something that
is loaded only at runtime and not in Editor ?
Have you tried loading only a basic menu screen, then using LoadLevelAsync?
The loading time will be the same, but it will be obscured by your menu screen. Only if the player does hits play before you are done loading do you need to stop and load.
isn’t there any chance that unity loads other scenes when I only load the app? it sounds unlikely but there is a fact that when I had less scenes, the first scene loaded faster.
@Kiwasi , yeah I know LoadLevelAsync behavior, but that’s not the case here:(
let me try to simplify my explanation. WHEN I HAVE 27 SCENES;
I load only the first (and light) scene. it takes 12 secs to show the first scene. WHEN I HAVE 9 SCENES;
I load only the first (and light) scene. it takes 4 secs to show the first scene.
OK, that’s what made me post that question. It sounds awkward that I don’t even load those scenes and yet they affect the first scene loading time. what brings me to the previous question - Does total app size influence loading time? It sounds crazy. I don’t even try to load the remaining 26 scenes.
Modes the profiler give you any clues? Maybe you have some weird long loops in the awake or start function of each button? That could explain why extra scenes is a problem.
But honestly without code we are just guessing. It’s probably not a unity related issue.