HI, I’m getting a huge spike of around 800ms+ on loading my “level completed” scene which is crashing my iOS application. The scene contains only a texture and a few buttons. It’s worked fine up until now and I don’t know what I could have changed to have affected this. I’ve attached two screenshots of the profiler for the specific frame (time it happens). I’ve run it twice to show how similar the results are. From the profiler it looks like I’m using asynchronous loading of the levels as that seems to be the spiking problem but I’m only using Application.LoadLevel(“LevelName”);
1st screenshot; http://cl.ly/2t0y3l0j3P3D1m3X3b3h
2nd Screenshot; Screen shot 2011-05-09 at 2...
Any ideas anyone? Would really appreciate the help!
Oh and it’s an iPhone app and crashes the app every time it gets to the end of the level (the same frame as the screenshots)
And if you need any more info then let me know, thanks.