i have compiler errors in my game so i can't enter play mode or add in scripts out of play mode and i checked all my code and theres nothing wrong with it
after i built the game , when i tried to edit more to add in more objects i got this . "All compiler errors must be fixed before entering game mode." there was nothing wrong with my code. so i deleted my player controller script from the player and when i tried to add it back in , it rejected my code , so i really don't know whats happening.
So there isn't any error printed to the console? $$anonymous$$ake sure to save all the code changes and also try to restart both, Unity Editor and your IDE ($$anonymous$$onoDevelop, Visual Studio or whatever you#re using). If there's still no error logged to the console, do you use any plugins?
Answer by bgao · Nov 11, 2016 at 03:18 PM
I had the issue with "All compiler errors must be fixed before entering game mode" also. The way I fixed it was by just saving my scene, closing unity, and the opening it up again. After that, when I pressed play, the game ran fine. Hope you get it fixed :)
Your answer
![](https://koobas.hobune.stream/wayback/20220612100502im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Compiler error 2 Answers
Running old code, code not being executed, or related problem 0 Answers
Compiling takes incrementally longer each time 0 Answers