Reply To: IOS Deserialization error custom event

NodeCanvas Forums Support IOS Deserialization error custom event Reply To: IOS Deserialization error custom event

#11148
Gavalakis
Keymaster

Hey,

You don’t need to add this type in the preferred types list. Instead only the types used by this should be added if not already. In this case for example, type “ActionType”, should be in the Preferred Types List.

Now, the reason this class is not appended in the AOTClasses.cs file, is because of the struct constraint (where T:struct) due to how the generator works now (which I will try to fix). Other type of constraints should work though. If you remove the struct constraint, then this class will be appended normally.

I’ve also realized a small bug in the generator caused because the class is outside of a namespace. Basically a dot “.” is added without needed 🙂
I’ve send you an email with the fix to this “.” problem though.

By the way there is already a condition “Check Event Value” which can be used for what you are after here (checking an event enum value)

Let me know if the send fix in the email and the above works for you.
Thanks!

Join us on Discord: https://discord.gg/97q2Rjh