question

boxmyth avatar image
boxmyth asked

Invalid JSON string

This just started this morning. Was working fine up until today. I tried reinstalling both the PlayFabEditorExtensions and SDK but it's still happening and giving me an: "HTTP/1.1 502 Bad Gateway" message in the app. The Unity console error readout below is mentioning PlayFabEditor.cs:345 specifically.

PlayFab EditorExtensions: Caught an error:Invalid JSON string 0x00007ff70cb41fed (Unity) StackWalker::GetCurrentCallstack 0x00007ff70cb46f99 (Unity) StackWalker::ShowCallstack 0x00007ff70db0f191 (Unity) GetStacktrace 0x00007ff70e1d1102 (Unity) DebugStringToFile 0x00007ff70ba5f866 (Unity) DebugLogHandler_CUSTOM_Internal_Log 0x00000239379b2cc3 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object) 0x00000239379b2bfb (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) 0x00000239379b2980 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object) 0x00000239d8982ff5 (Mono JIT Code) UnityEngine.Debug:LogError (object) 0x000002398c6c3b23 (Mono JIT Code) PlayFab.PfEditor.PlayFabEditor:StateUpdateHandler (PlayFab.PfEditor.PlayFabEditor/EdExStates,string,string) (at C:/Users/boxmy/Documents/Unity 2022 projects/Office Res/Assets/PlayFabEditorExtensions/Editor/PlayFabEditor.cs:345) 0x000002398c6c3493 (Mono JIT Code) (wrapper delegate-invoke) <Module>:invoke_void_PlayFabEditor/EdExStates_string_string (PlayFab.PfEditor.PlayFabEditor/EdExStates,string,string) 0x000002398c6c3399 (Mono JIT Code) PlayFab.PfEditor.PlayFabEditor:RaiseStateUpdate (PlayFab.PfEditor.PlayFabEditor/EdExStates,string,string) (at C:/Users/boxmy/Documents/Unity 2022 projects/Office Res/Assets/PlayFabEditorExtensions/Editor/PlayFabEditor.cs:259) 0x00000239b354e1ab (Mono JIT Code) PlayFab.PfEditor.PlayFabEditorHelper:SharedErrorCallback (PlayFab.PfEditor.EditorModels.PlayFabError) (at C:/Users/boxmy/Documents/Unity 2022 projects/Office Res/Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorHelper.cs:134) 0x00000239b354d6fc (Mono JIT Code) PlayFab.PfEditor.PlayFabEditorHttp:OnWwwError (System.Action`1<PlayFab.PfEditor.EditorModels.PlayFabError>,string) (at C:/Users/boxmy/Documents/Unity 2022 projects/Office Res/Assets/PlayFabEditorExtensions/Editor/Scripts/PlayFabEditorSDK/PlayFabEditorHttp.cs:141) 0x00000239b354d67b (Mono JIT Code) PlayFab.PfEditor.PlayFabEditorHttp/<>c_DisplayClass2_0`2<TRequestType_REF, TResultType_REF>:<MakeApiCall>b1 (string) (at C:/Users/boxmy/Documents/Unity 2022 projects/Office Res/Assets/PlayFabEditorExtensions/Editor/Scripts/PlayFabEditorSDK/PlayFabEditorHttp.cs:106) 0x00000239379a4b6c (Mono JIT Code) PlayFab.PfEditor.PlayFabEditorHttp/<Post>d7:MoveNext () (at C:/Users/boxmy/Documents/Unity 2022 projects/Office Res/Assets/PlayFabEditorExtensions/Editor/Scripts/PlayFabEditorSDK/PlayFabEditorHttp.cs:188) 0x00000239379a4661 (Mono JIT Code) PlayFab.PfEditor.EditorCoroutine:Update () (at C:/Users/boxmy/Documents/Unity 2022 projects/Office Res/Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/EditorCoroutine.cs:104) 0x0000023937998040 (Mono JIT Code) UnityEditor.EditorApplication:Internal_CallUpdateFunctions () 0x0000023a1651d525 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) 0x00007ffcefb8e0e4 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445) 0x00007ffcefaceb84 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066) 0x00007ffcefaced1c (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113) 0x00007ff70ca60aa4 (Unity) scripting_method_invoke 0x00007ff70ca3f724 (Unity) ScriptingInvocation::Invoke 0x00007ff70ca3a375 (Unity) ScriptingInvocation::Invoke<void> 0x00007ff70cb8142b (Unity) Scripting::UnityEditor::EditorApplicationProxy::Internal_CallUpdateFunctions 0x00007ff70d580915 (Unity) SceneTracker::Update 0x00007ff70d6a3219 (Unity) Application::TickTimer 0x00007ff70db1586a (Unity) MainMessageLoop 0x00007ff70db1a870 (Unity) WinMain 0x00007ff70eeff34e (Unity) _scrt_common_main_seh 0x00007ffd906c257d (KERNEL32) BaseThreadInitThunk 0x00007ffd9118aa78 (ntdll) RtlUserThreadStart

Player Data
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Neils Shi avatar image
Neils Shi answered

Sorry for the inconvenient, this issue could be related to the recent incidents: PlayFab Status - Unexpected volumes of invalid traffic impacted a subset of the titles using PlayFab. Currently, this issue has been resolved, please let us know if your problem persists.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.