1. Home
  2. Docs
  3. UniREST Solution 3.5
  4. Support
  5. OdinSerializer for .NET 2.0

OdinSerializer for .NET 2.0

Starting from UniREST Solution 3.0, the Odin Serializer is included as DLLs. This makes Odin Serializer compatible with .NET 2.0 and with the WebGL platform as well.

The Sirenix Odin Serializer is the default serialization system used by the UniRESTBinary class.

You may want not to use the Odin Serializer because you don’t use the UniRESTBinary class or you prefer to use the UniRESTBinary class with the standard .NET serialization (binary formatter).

By default. the Odin Serializer requires the .NET 4.0 version. This means that you have to set your Unity Project to work with .NET 4.0.

If you don’t want this, you have to options:

  1. deleting the Odin Serializer folder and removing the Odin framework reference from the UniRESTBinary class;
  2. replace the Odin Serializer folder with this package containing a version of OdinSerializer downgraded to .NET 2.0.