Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

I can't enter play mode PLEASE HELP

Discussion in 'Editor & General Support' started by unity_amXGjrwQc6hEGA, Jan 25, 2019.

Thread Status:
Not open for further replies.
  1. unity_amXGjrwQc6hEGA

    unity_amXGjrwQc6hEGA

    Joined:
    Jan 25, 2019
    Posts:
    3
    It doesn't matter how I do it I can't enter play mode, it says all compiling errors have to be fixed before I enter play mode. If I open a tutorial or something like that, I can't enter play mode, If I create a project of my own with just a couple components (Just a floor and a ball to bounce on it) I can't enter play mode, what is this? please help
     
  2. Vectorbox

    Vectorbox

    Joined:
    Jan 27, 2014
    Posts:
    232
    This is commonly due to a coding error preventing script compilation.

    The first step is to open the Console window (if it isn't open already) and 'double-click' the 'all compiling errors have to be fixed' notification(s). When the script opens, look for any part of the code which is underlined in red. This will highlight errors.

    If this fails, create a new empty project and press 'Play' (with no scripts, objects or components). Let us know how you get on.
     
  3. unity_amXGjrwQc6hEGA

    unity_amXGjrwQc6hEGA

    Joined:
    Jan 25, 2019
    Posts:
    3

    The errors are empty
    There are 4 error messages which are EMPTY, there's nothing in them, there's nothing, there are just 4 error icons that appear as soon as I open Unity, with no text after them, nothing happens if I click on them, no text and nothing go with them.

    The error also happens when I create a new project with nothing in it, the same error shows up if I click play
     
  4. Vectorbox

    Vectorbox

    Joined:
    Jan 27, 2014
    Posts:
    232
    Ok, take a look at this thread, it might fix the problem.
     
  5. WolfySansPlayzYT

    WolfySansPlayzYT

    Joined:
    Oct 23, 2021
    Posts:
    1
    I also cant enter playmode, i have looked at the script but the only thing i see is the whole word being orange, i have no clue how to make my character move or look around at all. Can somebody please help? My unity script looks way different than on tutorials and such. Btw i am new to unity and i want to make a game!
     
  6. ekoguy

    ekoguy

    Joined:
    Dec 29, 2020
    Posts:
    5
    Same problem. When I enter the playmode and I press a button,it stops and not works I and I can't close it only way to close it is stop from the task manager. The script only contains:When you press the button,it starts a function and function instantiates an empty gameobject and that gameobject has a script,the script startes a function and function only changes a variable from an another script. WTH?
     
  7. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,749
Thread Status:
Not open for further replies.