Search Issue Tracker
Duplicate
Votes
1
Found in
2019.3
2019.3.13f1
2020.1
2020.2
Issue ID
1244935
Regression
No
SerializeReference throws an error in built game when using Odin - Inspector and Serializer
How to reproduce:
1. Open the "pancakes.zip" project
2. Build and Run the project
Expected result: the built game doesn't throw any errors
Actual result: the built game throws "A scripted object has a different serialization layout when loading." error
Reproducible with: 2019.3.14f1, 2020.1.0b9, 2020.2.0a11
Could not test with: 2018.4.23f1 and earlier (project errors when downgrading)
Notes:
-Removing the [SerializeReference] property from problematic Scripts solves the issue
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
- The edge of the Terrain is breaking when painting along the edges where the two Terrains connect
- UI Builder Scroll button for Code Preview section automatically selects all of the code
- Memory increases indefinitely when playing VLC video stream
- An invisible Element without edges is left over when a Preview is converted to a Floating Window in the Inspector
- All "Multiplayer Center" window becomes blank and "Console" displayes "ArgumentException: Cannot unschedule unknown scheduled function UnityEngine.UIElements.VisualElement+SimpleScheduledItem" when user changes docked "Multiplayer Center" window position
This is a duplicate of issue #1232785