Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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.