Search Issue Tracker

Fixed in Unity 2018.3

Votes

51

Found in

2018.3.0f2

Issue ID

1116476

Regression

Yes

Prefab's references are lost when modifying prefab

Scene Management

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 2Core functionality majorly impacted

How to reproduce:
1. Open attached "PrefabReferenceLostRepro.zip" project
2. Go to Assets -> Scenes and open 'SampleScene'
3. Click on 'Spawner' and call 'Log' in the ContextMenu in the Inspector
4. Observe the Console
5. Go to Assets, open Enemy in Prefab Mode and edit it (e.g. change the position)
6. Repeat 3, 4 steps

Expected result: Console returns 'Enemy(Enemy)'
Actual result: Console returns 'null'

Reproducible: 2018.3.2f1, 2019.1.0a14, 2019.2.0a1
Not reproducible: 2017.3.0a1, 2017.4.18f1, 2018.3.0a11

Fixed in: 2018.3.6f1, 2019.1.0b4, 2019.2.0a6

Comments (19)

  1. 6ab412814f04b38fda1f50a94486ab2c?d=mm

    VengadoraVG

    May 06, 2019 14:42

    are you working with github? if so, this could help you hotfixing the bug:

    1. make a trivial modification in the prefab with info loss.
    2. git reset --hard HEAD
    3. return to unity, and reload the scene

    the lost information should return after doing this.

  2. E2f1739850064b6115e34d72c4393002?d=mm

    pitrmain

    Mar 09, 2019 12:03

    Still happening in 2018.3.6f1

  3. 537d2a1daafc314e65c50a1ee9ea6e4a?d=mm

    ksakins

    Mar 03, 2019 20:35

    I'm having this issue as well, my game object references keep disappearing randomly from prefabs and objects in the hierarchy. It seems to happen after saving, build, or completely just at random times. Very frustrating, and I basically cannot work on my game at all until this is fixed. I spend all my time re-adding game object references that keep disappearing.

  4. 3a3b1af8845f824424b6e7947f4b1530?d=mm

    PJbigscreen

    Feb 18, 2019 12:10

    Same, please fix!

  5. A722dd133c4ac4309a782b2e485822e9?d=mm

    superbcorperation

    Feb 18, 2019 04:04

    This bug still remains on unity 2018.3.5f1

  6. 5128b0daa89af415bb45bfca96007579?d=mm

    K_Seungbeom

    Feb 18, 2019 04:03

    This bug still remains on unity 2018.3.5f1

  7. Cf7f8a0b60950afd0c7810133aeb4ff2?d=mm

    Xtro

    Feb 16, 2019 00:24

  8. Cf7f8a0b60950afd0c7810133aeb4ff2?d=mm

    Xtro

    Feb 15, 2019 21:54

    It looks like this is fixed in 2018.3.6 but actually it's not. I'll send a new bug report.

  9. 72d3cee0e78ddffee03b26d1fe5089ca?d=mm

    Kirbychwan

    Feb 13, 2019 01:19

    Hey, if this isn't fixed can we actually get a fix, guys? Nobody wants to upgrade if it legit breaks everyone's projects. Stuff like this needs to be a top priority.

  10. Eeaa5a8e81c6580d5a2811b9e177d2ec?d=mm

    Mehrdad995

    Feb 06, 2019 16:22

    Hi again,
    The Issue that I mentioned earlier seems a little bit different for me,
    Apparently, I only faced it once I upgraded the project and again Apparently all the meshes that had a similar name where missed,
    i.e. for my road, it's is segmented and in 3Ds Max I named all road meshes for all segments as "road" without any number to distinguish them and most of them are missing.

    p.s. why can't we remove comments? I think my issue is different so I just wanted to remove it.

    thanks for the support btw

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.