sabresaurus/Sidekick

Non-int enum backing types throw exception

sabresaurus opened this issue · 2 comments

Only enums with a default backing type (int) are supported, others will throw exceptions:

InvalidCastException: Cannot cast from source type to destination type. Sabresaurus.Sidekick.VariableMetaData.Create (DataType dataType, System.Type elementType, VariableAttributes attributes) (at Assets/Sidekick/API/Data/VariableMetaData.cs:124)

Fixed in 52122e3

Some issues found with lists of enums