- Home /
LoadLevelAsync script execution order bug
In my application I'm using Application.LoadLevel to load different scenes like "game logic" scene "GUI" scene. What is important is that some of my scripts got to be executed first, so I'm using script execution order and I'm adding some of my crucial scripts with negative values.
In my main level scene (with terrain characters etc.) I'm sequentially loading this sub scenes and everything works fine.
And now I have got Loader scene that loads my main level scene, it's done that way so I can show some loading screen.
When I load my main level scene with Application.LoadLevel it works fine. When I load it with Application.LoadLevelAsync the script execution order is messed, some scripts are called before my scripts with negative values in Script Execution Order settings.
Your answer
![](https://koobas.hobune.stream/wayback/20220613112306im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
need to refind script execution order from before crashing without touching to other settings 0 Answers
Application.LoadLevelAsync not working in Unity 3.3 Pro? 6 Answers
Can't use Script Execution Order 1 Answer
GPU running 100% while Unity build is minimized and running in background 1 Answer
I keep getting an error when try to change the tag of a gameObject 1 Answer