Search Issue Tracker
Fixed
Votes
0
Found in
4.3.3f1
Issue ID
584957
Regression
No
C# example for Serializable does not inherit from System.Object
The documentation for Serializable
http://docs.unity3d.com/Documentation/ScriptReference/Serializable.html
states that the serializable class must extend System.Object, and the Javascript code sample shows this, but the C# example does not.
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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Peter77
Jan 22, 2014 13:10
System.Object is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy. Languages typically do not require a class to declare inheritance from Object because the inheritance is implicit.
More on that, see http://msdn.microsoft.com/en-us/library/system.object%28v=vs.110%29.aspx