Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
8
Found in
2019.3
2019.3.7f1
2020.2
Issue ID
1237191
Regression
No
Prefab changes are not applied and an error occurs when changing fields that have SerializeReference attribute
How to reproduce:
1. Open the attached project (SeralizedRefBug.zip)
2. Select the GameObject in the Hierarchy window
3. In the Inspector add any value to the list of SerializationBug Component
4. In the Component Context Menu select 'Modified Component' -> 'Apply To Prefab 'GameObject'
Expected result: the newly added value gets saved to the GameObject prefab
Actual result: the changes are unsaved and an error appears in the Console window
Reproducible with: 2019.3.10f1, 2020.1.0b5, 2020.2.0a7
Could not test with: 2017.4.39f1, 2018.4.21f1 (UnityEngine.SerializeReference not introduced)
Notes:
Clicking the 'Apply All' button in the Overrides drop-down window at the top of the Inspector works as expected
Comments (1)
-
joaoborks
Aug 12, 2020 17:58
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 2020.2):
Fixed in 2021.1.0a1
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b7
Resolution Note (fix version 2020.1):
Fixed in 2020.1.11f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.13f1