I use ZeroFormatter in Unity and everything is fine in Unity Editor or when I compile it to Android. When I compile and run on iOS and I experience an run time exception as It tries to JIT compile mehtod. Can it be avoid by making it aot only? Anyone experience the same problem?
The following generated code causes problem:
ZeroFormatter.Formatters.Formatter.RegisterDictionary<ZeroFormatter.Formatters.DefaultResolver, string, global::Model.Atlas.CfgIncident>();
Here is the run time error:
ExecutionEngineException: Attempting to JIT compile method 'ZeroFormatter.Formatters.Formatter2<ZeroFormatter.Formatters.DefaultResolver, System.Collections.Generic.KeyValuePair2<string, Model.Atlas.CfgIncident>>:get_Default ()' while running with --aot-only.
at ZeroFormatter.Formatters.Formatter.RegisterDictionary[DefaultResolver,String,CfgIncident] () [0x00000] in :0
at ZeroFormatter.ZeroFormatterInitializer.Register () [0x00000] in :0
I use ZeroFormatter in Unity and everything is fine in Unity Editor or when I compile it to Android. When I compile and run on iOS and I experience an run time exception as It tries to JIT compile mehtod. Can it be avoid by making it aot only? Anyone experience the same problem?
The following generated code causes problem:
ZeroFormatter.Formatters.Formatter.RegisterDictionary<ZeroFormatter.Formatters.DefaultResolver, string, global::Model.Atlas.CfgIncident>();
Here is the run time error:ExecutionEngineException: Attempting to JIT compile method 'ZeroFormatter.Formatters.Formatter
2<ZeroFormatter.Formatters.DefaultResolver, System.Collections.Generic.KeyValuePair
2<string, Model.Atlas.CfgIncident>>:get_Default ()' while running with --aot-only.at ZeroFormatter.Formatters.Formatter.RegisterDictionary[DefaultResolver,String,CfgIncident] () [0x00000] in:0
at ZeroFormatter.ZeroFormatterInitializer.Register () [0x00000] in :0
(Filename: Line: -1)