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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceExceptions are being thrown when saving a ScriptableObject with an array of a type with a CustomPropertyDrawer that uses TrackPropertyValue
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
- Scroll offset is framerate-dependent when scrolling with velocity in the Device Simulator
- "Object.FindObjectsOfType<T>() is obsolete" warning is thrown when using "Transitions Plus" asset
Blazerker
Jul 10, 2023 14:44
Still an issue in 2022.2.x
along1line
Apr 30, 2022 18:11
Still an issue in 2020.3.16f1
BIMG
Jan 08, 2021 10:51
https://forum.unity.com/threads/addressing-issues-with-missing-references.890923/
IspirationHappynes
Dec 30, 2020 08:12
Hey, I have the same problem in Unity 2020.1.14f1
tomster616
Dec 12, 2020 15:57
I'm still having this issues too...
zrocweb
Nov 03, 2020 17:35
Yes. Unity, please RE-OPEN this issue. Its still not resolved in all of the 2019 & 2020 versions and has routinely messed up my projects and prefabs to no avail.
sc-mlb
Oct 30, 2020 16:40
This is a constant problem for us. We've needed to write a tool that reimports every prefab in the project periodically to keep from getting lots of NREs when running the game. This is not a reliable solution and we need to be confident that Unity handles prefabs correctly.
We're seeing this behavior in 2019.3.13f1 and all the 2019.4 versions we've tried.
William821
Sep 21, 2020 19:03
Nice post.
Hosnkobf
Apr 30, 2020 15:52
Why is this marked as fixed? Who can I vote to reopen?
hk1ll3r
Apr 29, 2020 08:03
happens in 2019.3.11f1.