Hi, I am trying to use GetCatalogItems API. On Unity Editor, GetCatalogItems seems to work properly, but on iOS devices I am getting messages below.
I am using
Playfab Unity SDK with releaseNotes/#170130 (which is available at https://github.com/PlayFab/UnitySDK/blob/master/Packages/UnitySDK.unitypackage), Unity 5.5.1p2, and mono2.x backend without stripping.
For other APIs like GetPhotonAuthenticationTokenRequest, LoginWithCustomIDRequest, LoginWithAndroidDeviceIDRequest, LoginWithIOSDeviceIDRequest, and ExecuteCloudScriptRequest work really well on both editor and iOS builds, so it is really confusing.
ExecutionEngineException: Attempting to JIT compile method 'System.Collections.Generic.Dictionary`2<string, uint>:.ctor ()' while running with --aot-only.
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0
at PlayFab.Json.ReflectionUtils+<GetConstructorByReflection>c__AnonStorey0.<>m__0 (System.Object[] args) [0x00000] in <filename unknown>:0
at PlayFab.Json.PocoJsonSerializerStrategy.DeserializeObject (System.Object value, System.Type type) [0x00000] in <filename unknown>:0
at PlayFab.Json.SimpleJsonInstance+PlayFabSimpleJsonCuztomization.DeserializeObject (System.Object value, System.Type type) [0x00000] in <filename unknown>:0
at PlayFab.Json.PocoJsonSerializerStrategy.DeserializeObject (System.Object value, System.Type type) [0x00000] in <filename unknown>:0
at PlayFab.Json.SimpleJsonInstance+PlayFabSimpleJsonCuztomization.DeserializeObject (System.Object value, System.Type type) [0x00000] in <filename unknown>:0
at PlayFab.Json.PocoJsonSerializerStrategy.DeserializeObject (System.Object value, System.Type type) [0x00000] in <filename unknown>:0
at PlayFab.Json.SimpleJsonInstance+PlayFabSimpleJsonCuztomization.DeserializeObject (System.Object value, System.Type type) [0x00000] in <filename unknown>:0
at PlayFab.Json.PocoJsonSerializerStrategy.DeserializeObject (System.Object value, System.Type type) [0x00000] in <filename unknown>:0
at PlayFab.Json.SimpleJsonInstance+PlayFabSimpleJsonCuztomization.DeserializeObject (System.Object value, System.Type type) [0x00000] in <filename unknown>:0
at PlayFab.Json.PlayFabSimpleJson.DeserializeObject (System.String json, System.Type type, IJsonSerializerStrategy jsonSerializerStrategy) [0x00000] in <filename unknown>:0
at PlayFab.Json.PlayFabSimpleJson.DeserializeObject[GetCatalogItemsResult] (System.String json, IJsonSerializerStrategy jsonSerializerStrategy) [0x00000] in <filename unknown>:0
at PlayFab.Json.SimpleJsonInstance.DeserializeObject[GetCatalogItemsResult] (System.String json) [0x00000] in <filename unknown>:0
at PlayFab.Json.JsonWrapper.DeserializeObject[GetCatalogItemsResult] (System.String json) [0x00000] in <filename unknown>:0
at PlayFab.Internal.PlayFabHttp+<MakeApiCall>c__AnonStorey0`1[PlayFab.ClientModels.GetCatalogItemsResult].<>m__0 () [0x00000] in <filename unknown>:0
at PlayFab.Internal.PlayFabWww+<MakeApiCall>c__AnonStorey1.<>m__0 (System.String response) [0x00000] in <filename unknown>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
PlayFab.Internal.<MakeApiCall>c__AnonStorey1:<>m__0(String)
PlayFab.Internal.<Post>c__Iterator0:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)