visual studio code 2019 is not opening
I am trying to open my game's scripts but they are not opening and unity's console is showing this error
Error detecting Visual Studio installations: System.ArgumentException: JSON parse error: Invalid value. at (wrapper managed-to-native) UnityEngine.JsonUtility.FromJsonInternal(string,object,System.Type) at UnityEngine.JsonUtility.FromJson (System.String json, System.Type type) [0x0005c] in :0 at UnityEngine.JsonUtility.FromJson[T] (System.String json) [0x00001] in :0 at Microsoft.Unity.VisualStudio.Editor.Discovery+VsWhereResult.FromJson (System.String json) [0x00000] in E:\RAycast test ;)\Library\PackageCache\com.unity.ide.visualstudio@2.0.9\Editor\Discovery.cs:104 at Microsoft.Unity.VisualStudio.Editor.Discovery.QueryVsWhere () [0x0008b] in E:\RAycast test ;)\Library\PackageCache\com.unity.ide.visualstudio@2.0.9\Editor\Discovery.cs:169 at Microsoft.Unity.VisualStudio.Editor.Discovery+d_3.MoveNext () [0x0002e] in E:\RAycast test ;)\Library\PackageCache\com.unity.ide.visualstudio@2.0.9\Editor\Discovery.cs:33 at System.Collections.Generic.LargeArrayBuilder`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] items) [0x0005e] in :0 at System.Collections.Generic.EnumerableHelpers.ToArray[T] (System.Collections.Generic.IEnumerable`1[T] source) [0x00033] in :0 at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00018] in :0 at Microsoft.Unity.VisualStudio.Editor.VisualStudioEditor.DiscoverInstallations () [0x00000] in E:\RAycast test ;)\Library\PackageCache\com.unity.ide.visualstudio@2.0.9\Editor\VisualStudioEditor.cs:50 UnityEngine.Debug:LogError (object) Microsoft.Unity.VisualStudio.Editor.VisualStudioEditor:DiscoverInstallations () (at Library/PackageCache/com.unity.ide.visualstudio@2.0.9/Editor/VisualStudioEditor.cs:56) Microsoft.Unity.VisualStudio.Editor.AsyncOperation`1:b_6_0 (object) (at Library/PackageCache/com.unity.ide.visualstudio@2.0.9/Editor/AsyncOperation.cs:38) System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()
thanks in advance.......
Your answer
Follow this Question
Related Questions
Newtonsoft.Json works in Unity Editor but not on mobile devices 1 Answer
UWP build failed to restore NuGet packages 1 Answer
Error CS1061: 'HttpWebRequest' does not contain a definition for 'ContentLength' 0 Answers
Deserialize Json into Object 0 Answers
Serialization error on loading a scene 0 Answers