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
Comments (49)
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
- Render Graph Execution errors when using GPU occlusion culling with 'Opaque Objects' frame setting disabled on a Camera
- Animator window: “Delete” menu item not greyed out for Base Layer context menu
- Resetting “PC_RP Asset (Universal Render Pipeline Asset)” causes Game view to become black and throws Renderer and NullReference errors in the Console window
- [Mobile] Player Crash on scripting_invoke_profiler_begin when the built Player Scene has an empty UIDocument and is built on IL2CPP
- Unnecessary Warnings are logged when running Player with -batchmode -nographics
RogueStargun
Jan 18, 2024 07:33
Currently experiencing this bug in 2022.3.4f1. It appears to have cropped up recently and does not occur consistently.
Any time I edit a prefab, all references to that prefab go missing, as if the edited prefab is recreated with a new guid.
I have no idea why this happens.
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/
weto4ka
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.
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.