Search Issue Tracker

Fixed in 2018.3.X

Fixed in 2019.1.X

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

  1. nnoom1986

    Feb 20, 2020 09:01

    So much as clicking a prefab breaks component references for me. This feels like a pretty major bug...

  2. itsonh2610

    Feb 19, 2020 10:05

    This bug still happen on unity 2019.2.17f1

  3. Icepick

    Jan 30, 2020 16:42

    This is still happening for me, 2019.2

  4. GavinoGrifoni

    Jan 16, 2020 09:00

    Still happening on Unity 2019.3.0f5.

  5. turdle2080

    Jan 16, 2020 01:09

    This has now happened to me 3 times in the last year. everything behaves normally until i make a build. things behave normal in the build, i go to edit my prefab, BLAM, prefab data within the scene is lost (though not all of it for some reason). attempting to replace the data in the scene is futile, because everytime i alter my prefab, i lose my scene data. i have to rebuild my scenes. i'm able to work with my new scenes until i go to build the game again. rinse and repeat. i'm currently using 2019.3.0f1 but this has been an issue for each previous version i've used in the last year. i'm at my wits end...

  6. iosphere

    Jan 13, 2020 03:32

    Broken for me without a known workaround, in both 2019.3.0f3 and 2019.2.17f1.

  7. kwhipke1

    Jan 12, 2020 00:38

    Still happens for me. This is really eating up our productivity.

  8. yaronyanai1

    Dec 25, 2019 11:55

    This is not fixed in 2019.3.0b8

  9. Farage

    Oct 04, 2019 01:45

    Guys this isn't fixed, it's still happening in 2019.1.0

  10. Melsoft_unity_dev_team

    Jul 16, 2019 08:11

    Still happens in 2018.4.2f1

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.