- Home /
Scene loading freeze when using NGUI
when I stop playing a my game in the unity editor (by clicking the play button or pressing ctrl+P) I have a delay of around 5 second before unity will respond. this is not too bad, but I also have this delay when I try to load a new scene in game (using Application.LoadLevel(0)). I think it has something to do with NGUI (which I am using) because if I deactivate the UI_Root gameobject before playing I don't get the delay.
I have tried: 1. using code to destroy the ui just before loading the next scene. 2. using yield WaitForEndOfFrame() before loading the next scene.
Any help please?
I've noticed similar behavior with NGUI and LoadLevel() -- not when the game starts, but when loading subsequent levels. I haven't looked into it much yet, so I can't rule out a bug on my part. I'm just "me too"'ing this question because I'm interested in the answer also.
Your answer
Follow this Question
Related Questions
Editor Playmode takes a while to load 0 Answers
Keep background thread alive in Editor while entering PlayMode 0 Answers
Why changing material shader at runtime also affect my asset on disk? 3 Answers
Why Play Mode is taking a long time on Pro? 1 Answer
How to keep Unity Editor TCP client and Tcp Server static variables when entering PlayMode 0 Answers