Search Issue Tracker
Fixed in 5.4.1
Votes
0
Found in
5.4.0b9
Issue ID
778814
Regression
No
EditorJsonUtility doesn't serialize same UnityEngine.Object after reloading scene
Repro steps:
1-Open the Bug scene.
2-Select the Bug GameObject
3-Link a reference to any UnityEngine.Object in the "Reference" field
4-Press the "Serialize" button
5-Save and reload the same scene
6-Press the "Deserialize" button
7-Notice how the "Reference" field has changed - sometimes it gets empty, sometimes it references to absolutely different game object
Expected behaviour: after deserialization it references the same object
Actual: serialization drops after reloading the scene
Reproduced on: 5.4.0b21; 5.3.5p3;
No EditorJSONUtility on 5.2 and earlier
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leaks occur when Shader with more than 128 keywords is compiled
- Player built for Windows silently crashes when UI Prefab is instantiated and Render Feature "Render Objects" is active in PC_Renderer Asset
- Crash on CollectUsedSceneObjects when making any modifications and saving in a Scene with a specific GameObject Component enabled
- VFX Graph Properties Transform has a click animation when clicked on the “Transform” text but the drop down does not open
- "Cascade Shadow atlasing has failed" errors are spammed when two Directional Lights with the Shadow Map are enabled and there is a 3D GameObject in the scene
Add comment