• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by cloherty1650 · Nov 11, 2016 at 02:48 PM · script.compilercompiler-error

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.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Suddoha · Nov 11, 2016 at 02:58 PM 0
Share

So there isn't any error printed to the console? Make sure to save all the code changes and also try to restart both, Unity Editor and your IDE (MonoDevelop, Visual Studio or whatever you#re using). If there's still no error logged to the console, do you use any plugins?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

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 :)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

NULL REFERENCE DRVING ME INSANE!!! HELP!!!! 1 Answer

All scripts in unity give the error "the associated script can not be loaded please fix any compile errors and assign a vaild script" 3 Answers

Compiler error 2 Answers

Running old code, code not being executed, or related problem 0 Answers

Using Polymorphism Override 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges