Search Issue Tracker

Fixed in 2018.3

Fixed in 2019.1

Votes

51

Found in

2018.3.0b1

2018.3.0f2

2019.1.0a1

2019.2.0a1

Issue ID

1116476

Regression

Yes

Prefab's references are lost when modifying prefab

Scene Management

-

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 (21)

  1. Bce7fe20c3e71f8ef14819ff355e86ca?d=mm

    Melsoft_unity_dev_team

    Jul 16, 2019 08:11

    Still happens in 2018.4.2f1

  2. 4073711f691e7b5952a438b672ccbc48?d=mm

    patsm00re18

    Jun 19, 2019 10:13

    Fee fire jogar games, see more at this link: https://games.lol/garena-free-fire/

  3. 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.

  4. E2f1739850064b6115e34d72c4393002?d=mm

    pitrmain

    Mar 09, 2019 12:03

    Still happening in 2018.3.6f1

  5. 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.

  6. 3a3b1af8845f824424b6e7947f4b1530?d=mm

    PJbigscreen

    Feb 18, 2019 12:10

    Same, please fix!

  7. A722dd133c4ac4309a782b2e485822e9?d=mm

    superbcorperation

    Feb 18, 2019 04:04

    This bug still remains on unity 2018.3.5f1

  8. 5128b0daa89af415bb45bfca96007579?d=mm

    K_Seungbeom

    Feb 18, 2019 04:03

    This bug still remains on unity 2018.3.5f1

  9. Cf7f8a0b60950afd0c7810133aeb4ff2?d=mm

    Xtro

    Feb 16, 2019 00:24

  10. 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.

Add comment

Log in to post comment

All about bugs

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