Unity 5.6 JSON Bug
Hi,
My project is not related to Facebook. I'm not using it but i see this issue after every code editing. I guess, this problem is related Unity 5.6. What can i do ?
Version: Unity 5.6
ArgumentException: JSON parse error: Invalid value.
UnityEngine.JsonUtility.FromJson[AvailableSDKVersions] (System.String json) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/modules/JSONSerialize/JsonUtilityBindings.gen.cs:25)
UnityEditor.Facebook.SDKManager.ParseSupportedSDKList (System.String data) (at C:/buildslave/unity/build/PlatformDependent/Facebook/Extensions/Managed/SDKManager.cs:180)
UnityEditor.Facebook.SDKManager.GetSupportedSDKs () (at C:/buildslave/unity/build/PlatformDependent/Facebook/Extensions/Managed/SDKManager.cs:189)
UnityEditor.Facebook.SDKManager.GetLocallyAvailableSDKs () (at C:/buildslave/unity/build/PlatformDependent/Facebook/Extensions/Managed/SDKManager.cs:207)
UnityEditor.Facebook.SDKManager.Initialize () (at C:/buildslave/unity/build/PlatformDependent/Facebook/Extensions/Managed/SDKManager.cs:342)
UnityEditor.Facebook.TargetExtension.OnLoad () (at C:/buildslave/unity/build/PlatformDependent/Facebook/Extensions/Managed/ExtensionModule.cs:58)
UnityEditor.Modules.ModuleManager.InitializePlatformSupportModules () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Modules/ModuleManager.cs:219)
Answer by fedorenkosergiy · Jun 12, 2017 at 07:42 AM
You can got to Unity installation folder and remove or rename Facebook folder.
But before you should close all Unity instances.
Path to folder looks like C:/Program Files/Unity/Editor/Data/PlaybackEngines/Facebook
For example I just renamed to Facebook_old
This did help with the build, but I'm still getting an error. thanks Though!
Your answer
![](https://koobas.hobune.stream/wayback/20220612120012im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Weird graphic bug 0 Answers
When will Unity be fixing its bugs affecting servers with a high number of CPU Cores? 0 Answers
Unity Project Heavily Bugged When Downloaded As Collab Project 0 Answers
Unexpected response from Unity with AssetMoveResult (AssetModificationProcessor.OnWillMoveAsset) 1 Answer
Unable to convert classes into dex format (Unity + PlayFab + Facebook) 1 Answer