Supported Data Types
Listing all the allowed data types
After checking the supported list in this page, look for a surprise note at the end ;)
Primitive Data Types
Boolean
Char
SByte
Byte
Int16
UInt16
Int32
UInt32
Int64
UInt64
Single
Double
Decimal
DateTime
String
System Data Types
Guid
TimeSpan
KeyValuePair
DateTime
Collection Data Types
List
Hashtable
Dictionary
Stack
Queue
UnityEngine Data Types
AnchoredJoint2D
AudioClip
AudioSource
Behaviour
Bounds
BoxCollider2D
BoxCollider
Camera
CapsuleCollider2D
CapsuleCollider
CharacterController
CharacterJoint
CircleCollider2D
Collider2D
Collider
Color32
Color
Component
CompositeCollider2D
ConfigurableJoint
DistanceJoint2D
EdgeCollider2D
FixedJoint2D
FrictionJoint2D
GameObject
HingeJoint2D
HingeJoint
Joint2D
Joint
JointDrive
JointLimits
JointMotor
JointSpring
LayerMask
Light
Material
Matrix4x4
MeshCollider
Mesh
MeshFilter
MeshRenderer
Object
PhysicMaterial
PhysicsMaterial2D
PolygonCollider2D
Quaternion
Rect
RelativeJoint2D
Renderer
Rigidbody2D
Rigidbody
Shader
SkinnedMeshRenderer
SliderJoint2D
SoftJointLimit
SoftJointLimitSpring
SphereCollider
SpringJoint2D
SpringJoint
Sprite
SpriteRenderer
TargetJoint2D
Texture2D
Transform
Vector2
Vector3
Vector4
WheelJoint2D
In-fact, With Cross Platform Easy Save, you can serialize any type with the help of built in DataProvider tool. This tool generates the required code automatically and you can start using it. Check this article for more details.
Last updated