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

  1. 708735a79d3a883bf1130deaacf07a0e?d=mm

    William821

    Sep 21, 2020 19:03

    Nice post.

  2. E8095658fd38fcea440a74a560c5f954?d=mm

    Hosnkobf

    Apr 30, 2020 15:52

    Why is this marked as fixed? Who can I vote to reopen?

  3. F14295ba33ec3efbce839d47be72974e?d=mm

    hk1ll3r

    Apr 29, 2020 08:03

    happens in 2019.3.11f1.

  4. 688fca32955557613e57c48bc5d9dde5?d=mm

    M4R5

    Apr 17, 2020 23:38

    bump.

    2019.3.9f1: losing references to manually assigned `[SerializeField]` List<GameObject> elements on build

  5. B222552fd31b40f8523af06caef76a81?d=mm

    josrodes

    Apr 09, 2020 17:00

    This is happening in 2019.3.0f6, is there a new Open case for this?

    Prefab nesting is doomed to fail at any point when the root is changed, the whole chain up goes haywire, I just had to unpack the second level to get it "fixed".

  6. 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?

  7. 271f4e425027e039cc32cd4fbfedd4b7?d=mm

    forcepusher

    Apr 07, 2020 05:39

    2019.3.8f1 still losing prefab variant references.

  8. B14dd462e08dfe5447ff0cf312883642?d=mm

    ClockStone_Helmut

    Apr 02, 2020 10:50

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

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

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

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.