Search Issue Tracker
By Design
Votes
1
Found in
4.3.4f1
Issue ID
610527
Regression
No
All fields declared before a serialized field with a custom property drawer aren't serialized correctly
Reproduced with:
Unity Version 4.3.4f1 (e444f76e01cd)
Unity Version 4.5.0f6 (fd4616464986)
Resolution:
You are not supposed to call Update and ApplyModifiedProperties on the serialized object. This should be handled in OnInspectorGUI (as it already is with the default inspector).
Calling prop.serializedObject.Update() in OnGUI of the property drawer will reset the values of the properties that come before as they have not been serialized yet.
Comments (1)
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
- ScalableBufferManager does not work correctly when MSAA and RenderGraph Compatability are enabled
- Sprite artefacts appear when Sprite Packer is enabled
- Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
hammil
Jun 01, 2014 16:16
I believe I'm experiencing the same issue, after many hours of testing, though I can't say for sure. Everything works in the editor, but all my builds crash on startup. So you could say it's pretty serious