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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Script reference missing - Empty Scene

Discussion in 'Editor & General Support' started by angralon, May 27, 2016.

  1. angralon

    angralon

    Joined:
    Feb 25, 2014
    Posts:
    9
    If i run my scene, i get the following error:
    The GameObject "EventManager" however does not exists anymore (i deleted it). For going absolutely sure, i also deleted all the objects in my scene an run it. The error still happens. Looks like the scene has still some reference to that deleted object.

    How do i fix this?

    I tried:
    - Reimport All
    - Copying all objects to a new Scene
    - Reinstalling Unity (Had to upgrade to 5.3.5f1 anyways)
     
  2. angralon

    angralon

    Joined:
    Feb 25, 2014
    Posts:
    9
    I was able to fix the error:
    I copied parts of my scene to a new scene and checked if the error was still happening. Like that i could isolate the object that caused the problem.

    I deleted the object and created it again and the error was gone.