Strange error related to Visual Studio Code

Hi everyone,

I’m worried because I got these errors from one moment to the next every time I open a script and Visual Studio Code comes out, it doesn’t let me create or modify the script. I have reinstalled Visual Studio Code and Unity too and the same thing appears in all my projects.

Your help please. Thank you very much for your time.

Error1

Exception thrown while invoking [OnOpenAssetAttribute] method 'Unity.CodeEditor.CodeEditor:OnOpenAsset (int,int,int)' : Win32Exception: %1 no es una aplicación Win32 válida.

System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) (at <0463b2ef957545c0a51b42f372cd4fbb>:0)
System.Diagnostics.Process.Start () (at <0463b2ef957545c0a51b42f372cd4fbb>:0)
(wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
VSCodeEditor.VSCodeScriptEditor.OpenProject (System.String path, System.Int32 line, System.Int32 column) (at C:/Users/juanc/Videos/DISEÑOS DE JUEGOS/LoHa/Library/PackageCache/com.unity.ide.vscode@1.2.3/Editor/VSCodeScriptEditor.cs:217)
Unity.CodeEditor.CodeEditor.OnOpenAsset (System.Int32 instanceID, System.Int32 line, System.Int32 column) (at <d0e4b8c1204147f3935b6e9c8b8565ad>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Eror2

Win32Exception: %1 no es una aplicación Win32 válida.

System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) (at <0463b2ef957545c0a51b42f372cd4fbb>:0)
System.Diagnostics.Process.Start () (at <0463b2ef957545c0a51b42f372cd4fbb>:0)
(wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
VSCodeEditor.VSCodeScriptEditor.OpenProject (System.String path, System.Int32 line, System.Int32 column) (at C:/Users/juanc/Videos/DISEÑOS DE JUEGOS/LoHa/Library/PackageCache/com.unity.ide.vscode@1.2.3/Editor/VSCodeScriptEditor.cs:217)
Unity.CodeEditor.CodeEditor.OpenProject (System.String path, System.Int32 line, System.Int32 column) (at <d0e4b8c1204147f3935b6e9c8b8565ad>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Could you fix it? Having the same problem :frowning: