question

Barshall avatar image
Barshall asked

PlayFab EditorExtensions: Caught an error:Invalid JSON string (18.03.2021)

I've been getting this error of lately on Unity 2018.4.30f1, looked on the internet, and didn't found any real solution to this.


PlayFab EditorExtensions: Caught an error:Invalid JSON string
UnityEngine.Debug:LogError(Object)
PlayFab.PfEditor.PlayFabEditor:StateUpdateHandler(EdExStates, String, String) (at Assets/PlayFabEditorExtensions/Editor/PlayFabEditor.cs:332)
PlayFab.PfEditor.PlayFabEditor:RaiseStateUpdate(EdExStates, String, String) (at Assets/PlayFabEditorExtensions/Editor/PlayFabEditor.cs:247)
PlayFab.PfEditor.PlayFabEditorHelper:SharedErrorCallback(PlayFabError) (at Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/PlayFabEditorHelper.cs:127)
PlayFab.PfEditor.<>c:<OnLoginButtonClicked>b__14_1(PlayFabError) (at Assets/PlayFabEditorExtensions/Editor/Scripts/Panels/PlayFabEditorAuthenticate.cs:299)
PlayFab.PfEditor.PlayFabEditorHttp:OnWwwError(Action`1, String) (at Assets/PlayFabEditorExtensions/Editor/Scripts/PlayFabEditorSDK/PlayFabEditorHttp.cs:130)
PlayFab.PfEditor.<>c__DisplayClass2_0`2:<MakeApiCall>b__1(String) (at Assets/PlayFabEditorExtensions/Editor/Scripts/PlayFabEditorSDK/PlayFabEditorHttp.cs:95)
PlayFab.PfEditor.<Post>d__7:MoveNext() (at Assets/PlayFabEditorExtensions/Editor/Scripts/PlayFabEditorSDK/PlayFabEditorHttp.cs:177)
PlayFab.PfEditor.EditorCoroutine:Update() (at Assets/PlayFabEditorExtensions/Editor/Scripts/Utils/EditorCoroutine.cs:103)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)

1 comment
10 |1200

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

justinmcdaniel avatar image justinmcdaniel commented ·

Trying to setup a new project and cannot login to download the SDK... is there any work around?

0 Likes 0 ·
Citrus Yan avatar image
Citrus Yan answered

This issue is fixed now, feel free please confirm from your end. Let me know if there are any problems, thanks!

2 comments
10 |1200

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

Jakub Smekal avatar image Jakub Smekal commented ·

It works, thank you!

0 Likes 0 ·
Good Guy avatar image Good Guy Jakub Smekal commented ·

Confirmed, working.

0 Likes 0 ·
dodecadaemon avatar image
dodecadaemon answered

I am experiencing this error too. I can't log into the PlayFab EdEx because of this.

10 |1200

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

Citrus Yan avatar image
Citrus Yan answered

We can reproduce this issue on our side, most likely it's an issue on the TwoFactorAuth flow, we'll report this issue to the PG team for a fix and keep you posted for new updates, thanks!

4 comments
10 |1200

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

Good Guy avatar image Good Guy commented ·

I am experiencing this problem, but note that I do NOT have 2FA turned on for my User.

0 Likes 0 ·
Barshall avatar image Barshall commented ·

@Evil Twin Yes, I had TwoFactorAuth enabled on my account, disabled it for testing, and I still got the same error.

0 Likes 0 ·
Good Guy avatar image Good Guy commented ·

Can we get a status update?

0 Likes 0 ·
Citrus Yan avatar image Citrus Yan Good Guy commented ·

Hi @Dodecadaemon, @Evil Twin, @barshall, @Juan David Varon G, our SDK team are actively investigating this issue for the time being, really sorry for the inconvenience caused, I'll keep you guys posted for any new progress in this thread. And, as a workaround for now, please use the manual installation & configuration descirbed in this section: https://github.com/PlayFab/UnitySDK#manual-installation

2 Likes 2 ·
Juan David Varon G avatar image
Juan David Varon G answered

We are getting this error as well, tested on 2020.3.0, 2020.2.3, 2019.4.22. Same error on empty URP project. Any update on how to solve this? or workaround in the meantime?

thanks!

10 |1200

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

Felipe Moreno avatar image
Felipe Moreno answered

I do still have the same problem. No fixes yet?

,

I am having the same problem. Still no fixes?

10 |1200

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

Phan Yoon Loong avatar image
Phan Yoon Loong answered

No fixes yet?

,

??解決了嗎??

10 |1200

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

HYUN WOO SOUNG avatar image
HYUN WOO SOUNG answered

I could login after changed Unity version 2020.3.2f, but I can't upgrade to a new version of playfab sdk.

Hope it will be fixed fast.

10 |1200

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

HYUN WOO SOUNG avatar image
HYUN WOO SOUNG answered

I could login after changed Unity version 2020.3.2f, but I can't upgrade to a new version of playfab sdk.

Hope it will be fixed fast.

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.