Search Issue Tracker
By Design
Votes
2
Found in
4.3.0f3
Issue ID
574864
Regression
No
Serializable value forced to be non-null
To reproduce:
1. Open the attached project
2. Click on _Prefab/PrefabCard in the Project pane
3. Notice that a variable "Callback Player" is not null though it's set to null in the script.
Comments (2)
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
- Text overlap and is unreadable in Inspector > Terrain Paint Texture after creating new Terrain Layer
- Event "XRInputSubsystem.trackingOriginUpdated" triggers twice when recentering the view
- UITK TextField value is overwritten incorrectly by the converter result when Binding Mode is set to "To Source"
- Out of memory crash when selecting more than 80000 Assets simultaneously
- Test Runner fails to create a script in the active path when selecting a file as the active path
Rene-Damm
Mar 11, 2014 16:01
For an explanation on how to deal with this, please see this blog post: http://blogs.unity3d.com/2012/10/25/unity-serialization/.
Short story: Objects that are not based on UnityEngine.Object are embedded into the serialization stream of the UnityEngine.Objects that reference them. Use ScriptableObject as your base class if you want things to be serialized as references instead.
stfx
Jan 28, 2014 09:32
Yes, Unity serialization could use some work. Polymorphism is also not supported.