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

Error just a number no text or explanation.

Discussion in 'Getting Started' started by kmo86, May 3, 2021.

  1. kmo86

    kmo86

    Joined:
    Dec 15, 2020
    Posts:
    104
    I am redoing a snake tutorial I got to the part adding food and got this [20.45.22] I’ve added a screenshot of the error I have removed all scripts from game objects yet it won’t go away. It won’t do anything if clicked and I can’t play the game without correcting the errors. Please someone help.
     

    Attached Files:

  2. kmo86

    kmo86

    Joined:
    Dec 15, 2020
    Posts:
    104
    I have worked out even tho this script isn't on any game object any script I add even before I type anything in the script causes this error.
     
  3. kmo86

    kmo86

    Joined:
    Dec 15, 2020
    Posts:
    104
    I have just tried starting a new 3D project in the 2019.4.19f1 version and it opens with the 2 errors shown on screen shot. Can’t click on them or anything and there is nothing added to the editor of anything.
     

    Attached Files:

  4. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,510
    If it happens with a new project it's obviously not a script issue we can help you with. You might have a corrupt install or permissions issues. Are you running the Editor as Administrator?
     
  5. kmo86

    kmo86

    Joined:
    Dec 15, 2020
    Posts:
    104
    No idea what the problem was as I was opening it same way I always open new projects and a snake game I’d already done using same version was fine. I’m guessing it may have been an issue with that version as I’ve managed to open a new project in that version fine this morning.