I am trying to serialize Dictionary<string, List > and on a computer it works fine, but on iOS i get
“Unhandled Exception: System.ExecutionEngineException: Attempting to JIT compile method ‘System.Collections.Generic.Dictionary2<string, System.Collections.Generic.List
1>:smile:o_CopyTo<System.Collections.Generic.KeyValuePair2<string, System.Collections.Generic.List
1>, System.Collections.Generic.KeyValuePair2<string, System.Collections.Generic.List
1>> (System.Collections.Generic.KeyValuePair2<string, System.Collections.Generic.List
1>[ ],int,System.Collections.Generic.Dictionary2/Transform
1<string, System.Collections.Generic.List1<int>, System.Collections.Generic.KeyValuePair
2<string, System.Collections.Generic.List`1>>)’ while running with --aot-only.”
I tried Dictionary<string, int[ ] > and it works on iOS and computer.
Have anybody had similar problem?