Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
4
Found in
2019.3.0f2
2019.3.0f6
2020.1.0a15
Issue ID
1215642
Regression
Yes
Errors occur in the Play mode when there is an empty collection of a type containing a Serialized Reference object
How to reproduce:
1. Open the attached project "case_1215642-SerializeReference"
2. Open the Scene "SampleScene"
3. Press the Play button
4. Observe the results in the Console window
Expected results: there are no errors in the Console window
Actual results: errors occur in the Console window such as "A scripted class has a different serialization layout when loading." and "A scripted object (probably Game.TestScript?) has a different serialization layout when loading."
Reproducible with: 2019.3.0f2, 2019.3.0f6, 2020.1.0a15, 2020.1.0a22
Not reproducible with: 2019.3.0f1, 2020.1.0a14
Could not test with: 2017.4, 2018.4, 2019.2, 2019.3.0a12 because " 'SerializeReference' is inaccessible due to its protection level
The issue occurs if you have an empty collection of a type containing an array of with an element type containing itself a Serialized Reference.
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
- Camera.allCameras returns cameras from all loaded Scenes when using multi-Scene setup
- Camera.layerCullDistances has no effect when GPU Resident Drawer is enabled
- ARM64 and ARMv7 APKs return the same version code when "Split APKs by target architecture" is enabled
- Crash on ProfilerMutexLock when closing a project with specific Assets
- “Callback unregistration failed. Callback not registered.” is thrown when changing layouts with two "Font Asset Creator" windows docked
Resolution Note (fix version 2020.1):
Fixed in 2020.2.0a4
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0b5
Resolution Note (fix version 2019.3):
Fixed in 2019.3.8f1