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

  1. A2fb702798c03074bb54e208792281b7?d=mm

    Michael_Waltham

    Apr 07, 2020 10:36

    Still happening for us on 2019.3.6f1. This is a real project breaker halting a large portion of our dev. Any plans for this bug to be reopened soon?

  2. 271f4e425027e039cc32cd4fbfedd4b7?d=mm

    forcepusher

    Apr 07, 2020 05:39

    2019.3.8f1 still losing prefab variant references.

  3. B14dd462e08dfe5447ff0cf312883642?d=mm

    ClockStone_Helmut

    Apr 02, 2020 10:50

    We get this too from time to time in 2019.3.6f1.

  4. C1b12b22cdfbd69fa46d244f6ad997d4?d=mm

    Squoktapus

    Mar 31, 2020 11:16

    I noticed something similar via the cloud build.

    Cloud build is running latest 2019.3.6f1 whilst the latest version in the hub is 2019.3.7f1 (aside, but why the disparity?).

    Anyway binaries from the cloud build had lost prefab references and reverted to defaults. Which was quite difficult to diagnose as prefab references are not widely used. Specifically LayerMask and Layers were lost on prefabs after an upgrade. A clean build resolved it.

    We will beware upgrades and guard prefab references.

  5. F68c56afaf48812f509bc206b2dabe2c?d=mm

    AlexTuduran

    Mar 24, 2020 17:17

    Still happening in 2019.3.3f1 and it's a major issue for us. It holds us back seriously, as a complete project re-import lasts more than one hour (project size > 30GB). Make this your top priority, data loss is a deal-breaker.

  6. 4e2337dd7b07916621560b1f2be1088f?d=mm

    xjjon

    Mar 11, 2020 03:03

    Still happens for me. Not fixed!

  7. Ff74f08ee477d8ea9d0884981360830f?d=mm

    JakeC

    Feb 20, 2020 17:01

    This issue, or a very similar one, is still happening for me in Unity 2019.3

  8. 516ce821387d42fdda30c944b7327cd2?d=mm

    nnoom1986

    Feb 20, 2020 09:01

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

  9. 325e910bec9392b19da319844c615526?d=mm

    itsonh2610

    Feb 19, 2020 10:05

    This bug still happen on unity 2019.2.17f1

  10. 18b28de5d836e272ae91a7d3f931e745?d=mm

    Icepick

    Jan 30, 2020 16:42

    This is still happening for me, 2019.2

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.