Skip to content

v1.0.2

Compare
Choose a tag to compare
@friflo friflo released this 13 May 08:04
· 861 commits to main since this release

Fix/Changed behavior:
Unsupported fields/properties in custom classes, structs and interfaces are now ignored by mapper/serialization.

Issue: Generic structs in components is not supported

Before an exception was thrown:

System.InvalidOperationException : invalid standard type. was: Tests.ECS.GenericStruct`1[System.Int32]

E.g.

class MyClass {
    public GenericStruct<int> genericStruct;
}

struct GenericStruct<T> { public T value; }

Commit: Mapper - Ignore unsupported fields/properties in custom classes, structs and interfaces.