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.
Comments (1)
-
shubhamswaraj2021
Aug 18, 2020 11:48
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
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