Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Prefab Missing References

Discussion in '2021.2 Beta' started by MousePods, Jul 24, 2021.

  1. MousePods

    MousePods

    Joined:
    Jul 19, 2012
    Posts:
    801
    Hi,

    Is this a known bug?

    1. Launch unity and look at a prefab in game. It is missing all references.

    Screen Shot 2021-07-23 at 11.50.40 PM.png

    2. Change a script and save.
    3. Look at the same prefab (or any prefab). It will have loaded all its references.

    Screen Shot 2021-07-23 at 11.50.47 PM.png

    EDIT: I redownloaded the project from collab and seemed to fix this. No idea how to reproduce it.
     
    Last edited: Jul 24, 2021
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,125
    Hi @MousePods,

    There's a couple of recent cases related to lost reference upon upgrading but it's hard to say whether they're related to your case.

    https://issuetracker.unity3d.com/is...ld-reference-is-lost-when-project-is-upgraded
    https://issuetracker.unity3d.com/is...grading-project-up-to-2022-dot-1-0a2-or-above
    https://issuetracker.unity3d.com/is...adding-serialized-variables-to-another-script

    If you come across this again and can find a way to reproduce it, we'd appreciate a bug report.
     
    MousePods likes this.