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. Dismiss Notice

Bug Prefabs randomly losing references throughout our project - reimport fixes it

Discussion in 'Prefabs' started by Xarbrough, Jun 12, 2020.

  1. Spikebor

    Spikebor

    Joined:
    May 30, 2019
    Posts:
    264
    still got it in my 2022.3.4f1 project, after editing a prefab, sometimes it will cause missing references.
    Wow I can't even think how devastating this is in a big project.
    I'll try to make it reproducible then submit a bug report.
     
  2. Peter_Olsted

    Peter_Olsted

    Unity Technologies

    Joined:
    Apr 19, 2021
    Posts:
    74
    If possible, try and download 2022.3.5f1 when available July 20 and see if the issues persists.
     
    Last edited: Jul 14, 2023
    Spikebor likes this.
  3. theArtifacts

    theArtifacts

    Joined:
    Feb 25, 2017
    Posts:
    1
    I'm on 2022.3.7f1 LTS and started having this bug. I first noticed _unity_self null reference when playing in the editor, and later began losing references to scripts in prefabs.
     
  4. Peter_Olsted

    Peter_Olsted

    Unity Technologies

    Joined:
    Apr 19, 2021
    Posts:
    74
    @theArtifacts Have you any reproduction for this? We would love to take a look at it.
     
  5. Jakub_Machowski

    Jakub_Machowski

    Joined:
    Mar 19, 2013
    Posts:
    635
    Will that be fixed in 2021 LTS? this is like extremely annoying. Imagine that everything is working well in editor You are building game and things are broken for players. That horrible
     
  6. Peter_Olsted

    Peter_Olsted

    Unity Technologies

    Joined:
    Apr 19, 2021
    Posts:
    74
    @Jakub_Machowski Could you submit a bug report with your affected project? We would like to ensure we are talking about the same issue.
    Because this particular issue should not appear in 2021 LTS.
     
  7. jackward84

    jackward84

    Joined:
    Jan 26, 2017
    Posts:
    87
    Interesting - I frequently get prefabs randomly disconnecting and never pieced together that this error message might be related. I'm going to keep an eye out for this message in future; usually it just triggers me to restart the editor.