Hello,
I downloaded Godot’s source code and made the following file:
scons_profiles/windows_debug_editor.py
This file contains the following:
platform = "windows"
target = "editor"
dev_build = "yes"
dev_mode = "yes"
debug_symbols = "yes"
d3d12 = "yes"
vsproj = "yes"
optimize = "debug"
mesa_libs = "C:/Users/USERNAME/AppData/Local/Godot/build_deps/mesa-x86_64-msvc"
agility_sdk_path = "C:/Users/USERNAME/AppData/Local/Godot/build_deps/agility_sdk"
pix_path = "C:/Users/USERNAME/AppData/Local/Godot/build_deps/pix"
(where “USERNAME” is my actual windows username.)
This seems to successfully create a .sln, though it doesn’t do any apparent work to build anything. Adding vsproj_gen_only = “no” does not seem to change this.
Once inside visual studio, I changed the debug command line to:
--editor --path "C:\PROJECT_PATH"
(where PROJECT_PATH is the path of my godot project)
When I do Build>Build godot in Visual Studio, I get the following output:
Build started at 3:18 PM...
1>------ Build started: Project: godot, Configuration: editor x64 ------
1>Starting SCons
1>**********************************************************************
1>** Visual Studio 2022 Developer Command Prompt v17.14.7
1>** Copyright (c) 2025 Microsoft Corporation
1>**********************************************************************
1>[vcvarsall.bat] Environment initialized for: 'x86_x64'
1>scons: Reading SConscript files ...
1>Auto-detected 24 CPU cores available for build parallelism. Using 23 cores by default. You can override it with the `-j` or `num_jobs` arguments.
1>Building for platform "windows", architecture "x86_64", target "editor".
1>INFO: Developer build, with debug optimization level and debug symbols (unless overridden).
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 3:18 PM and took 21.582 seconds ==========
21 seconds is clearly too fast for a first-time build. I also get the following message:
If I try to debug, I get the following error:
I can also confirm that C:\godot\bin\x64\editor exists, but is empty.
Thanks for taking a look!