Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Errors in scene file ?

Discussion in '2018.3 Beta' started by Rafarel, Dec 10, 2018.

  1. Rafarel

    Rafarel

    Joined:
    Jul 21, 2017
    Posts:
    199
    Hi there,
    I have two errors on my unity scene.
    Both errors looks the same, here are the message :

    Error message 1 :

    Could not extract GUID in text file Assets/Scenes/Main.unity at line 2865.

    Here is the 2865 line :

    - {fileID: 2, guid: 00000000000000000000000000000000, type: 0}

    Error message 2 :

    Could not extract GUID in text file Assets/Scenes/Main.unity at line 2986.

    Here is the 2986 line :

    - {fileID: 2, guid: 00000000000000000000000000000000, type: 0}

    So, looks the same ...

    I tried to just remove these line (I had to try haha) and I have the message :

    ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index


    Please Unity team, help me ! I spend to much time struggling with Unity bugs these days :(
    Thanks for your help !
     
  2. Rafarel

    Rafarel

    Joined:
    Jul 21, 2017
    Posts:
    199
    Ok, I had two nested game objects that had references to ScriptableObject that does no longer exists in the project.
    The error message is not that clear.
    Is there an easy way to track these kind of missing parts in a project ?
    Thanks !