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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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