- Home /
Game "Freezes" on start, with no error message
Hello,
I'm new to Unity and I'm faced with a very troubling predicament. I built a LAN connected game using Unity's UNET, It was working fine and once I went to compile it using the "build and run" function the game would "freeze" on start. I tried restarting Unity and then the same problem occurred within the built-in compiler. Also no error appeared when the game compiled . I believe the game is actually working but it isn't detecting input (though I could be very wrong). I attached the file down below, Thanks for the Help!
https://drive.google.com/file/d/10sSkes9tjwqRqJqrm6qTo1-m0vQeVaIz/view?usp=sharing
Answer by tormentoarmagedoom · May 09, 2018 at 07:31 AM
Good day.
Did you established the order of the scripts execution? I had some similar problems once, because i don't know why, some scripts were not executing in the same order in editar then in built executable... So all the starts was executing in diferent order and some variables was returning null..
Edit > Project Settings > Script Execution Order
Maybe is this.. Check it!
Your answer
![](https://koobas.hobune.stream/wayback/20220612162315im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity Internal Compiler Error, not there in Editor 0 Answers
Struct Error CS0122 1 Answer
Compiler Errors 0 Answers
please help island demo compieler error 2 Answers