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.
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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
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