0 votes

I've installed Visual Studio Code and set it as my external editor in Godot, but whenever I try to open a script, C# spits out this error:

platform\windows\os_windows.cpp:2054 - Condition ' ret == 0 ' is true. returned: ERR_CANT_FORK
 modules\mono\editor\godotsharp_editor.cpp:201 - GodotSharp: Could not execute external editor
 editor\plugins\script_editor_plugin.cpp:1685 - Couldn't open script in the overridden external text editor

What's going on here? Am I missing a step? I really need this, as debugging with GD.Print() is driving me crazy.

in Engine by (28 points)

Is code available in your PATH environment variable? You can check by opening a Command Prompt then typing code; it should open Visual Studio Code.

Doesn't look like it.

I'm having the same problem and VScode is in my PATH... Any other ideas?

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.