Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.3.X, 2020.1.X
Votes
2
Found in
2019.3
2019.3.0f6
2020.1
Issue ID
1216813
Regression
No
Serialization for fields with [SerializeReference] attribute is performed after parent class's serialization
Steps to reproduce:
1. Open the attached project (case_1216813.zip)
2. Clear the Console
3. Enter Play Mode
Expected result: ReferenceTestClass (de)serialization is done before ReferenceTestBehaviour
Actual result: ReferenceTestClass (de)serialization is done after ReferenceTestBehaviour
Reproduced in: 2019.3.2f1, 2020.1.0a23
Cannot test with: 2017.4.37f1, 2018.4.17f1, 2019.2.21f1 ([SerializeReference] attribute unavailable)
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a8
Fixed the order of main object/instance object deserialization callbacks in the presence managed references