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

Missing prefab references in an array

Discussion in 'Prefabs' started by one_man_machine, Aug 21, 2019.

  1. one_man_machine

    one_man_machine

    Joined:
    Nov 25, 2015
    Posts:
    5
    Hi I have a prefab that has an array of references,
    and sometimes it happens to me that the assigned prefab to the array is missing after a restart.
    Is this an existing/known bug? It doesn't happen for all the prefabs only to some, I will try to reproduce this on an existing project but, has anybody encountered the same issue? Is there some particular step I can take to make sure the prefab reference desn't disappear ?

    Thank you,
    Martin
     
  2. one_man_machine

    one_man_machine

    Joined:
    Nov 25, 2015
    Posts:
    5
    For anybody having the same issue, the way I have "fixed this" is I have deleted the (missing reference) field so it appeared as none, commited this change retrieve this change in another project so I could see none as well and then reassign the field + commit