Why do I get a "All compiler errors have to be fixed before you can enter playmode!" error?


When trying to enter play mode, I am receiving the error below:

All compiler errors have to be fixed before entering playmode


If any of the scripts in your Unity project have errors that do not allow Unity to compile the scripts, then this error will be displayed. You will not be able to enter play mode if this error is present.


You will need to look at all errors that are being flagged in the console and fix them. 

Note: If you cannot see any errors in the console but the message still appears it may be an issue with a script using the namespace UnityEngine.Networking;

If the script is not being used then comment out the sections where the errors appear. 

Once all scripts are free of errors, Unity can compile the scripts and you can enter play mode.

More Information

Was this article helpful?
0 out of 3 found this helpful
Have more questions? Submit a request


  • 0
    Elijah White

    Might I be getting this error or a similar error if I had misspelled a key name in "input.GetKeyDown()"? Or maybe it's all-caps and it's supposed to be all lower-case?

    Edited by Elijah White
Please sign in to leave a comment.