I have a strange occurance in my app. I have an enumeration called "ValidateInputFieldMessage". In a dictionary, I can add one or more of the enum values and assign a GameObject containing an error message, if the criteria of the associated enum value is not met. This works well in the editor and on Android and did before the 2.0 update as well on iOS. But now I'm getting:
Creating a serialization formatter for the type 'System.Collections.Generic.Dictionary<ValidateInputFieldMessage, GameObject> failed due to missing AOT support.
The enum is not discovered by the AOT collector and adding it manually doesn't change a thing. The log requests to add the dictionary type and GameObject as well, which is not possible.
Further in the log, there is a similar message for UnityEngine.Events.PersistentListenerMode.
I have problems with a dictionary, where a string is the key and a serialized object is the value as well since 2.0, but I'm not sure, if this is a followup problem only or something on its own. After starting on iOS, the dictionary is populated with one entry only, if error output is disabled and it is not initialized at all (null) if enabled. Thinking about it, the value object has a UnityEvent embedded, so this may be related the the PersistentListenerMode issue above.
This thing is kind of urgent, as I need to deploy an iOS version for the customer, so thanks in advance, if you can address this in a short term.