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

  1. Icepick

    Jan 30, 2020 16:42

    This is still happening for me, 2019.2

  2. GavinoGrifoni

    Jan 16, 2020 09:00

    Still happening on Unity 2019.3.0f5.

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

  4. iosphere

    Jan 13, 2020 03:32

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

  5. kwhipke1

    Jan 12, 2020 00:38

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

  6. yaronyanai1

    Dec 25, 2019 11:55

    This is not fixed in 2019.3.0b8

  7. Farage

    Oct 04, 2019 01:45

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

  8. Melsoft_unity_dev_team

    Jul 16, 2019 08:11

    Still happens in 2018.4.2f1

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

  10. pitrmain

    Mar 09, 2019 12:03

    Still happening in 2018.3.6f1

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.