Godot version
v4.6.2.stable.mono.official [71f334935]
VS Code version
1.122.1
Godot Tools VS Code extension version
2.6.1
System information
Windows 11 Home
Issue description
Attempting to create launch the project with "scene": "current" will show the following error:
ALERT!
Couldn't detect whether to run the editor, the project manager or a specific project. Aborting.
This only occurs if the main scene is not set in the Godot project.
Steps to reproduce
- Ensure that the main scene in Godot project is blank. I.E. Project Settings > Application > Run > Main Scene.
- Open launch.json in VS Code.
- Create a new configuration with
"scene": "current". For example:
{
"name": "Run Current Scene",
"type": "godot",
"request": "launch",
"scene": "current",
"project": "${workspaceFolder}",
"additional_options": ""
},
- Run and Debug with the configuration above.
Actual Result
An error box pops up with the following information:
ALERT!
Couldn't detect whether to run the editor, the project manager or a specific project. Aborting.
Expected Result
Either of the following would be an appropriate result:
- The current scene launches as normal, even though a main scene is not set.
- A dialog box with more appropriate information appears. At the very least, it should be the error one gets when they try to run the main scene while it is unset (default if no explicit scene configuration set):
ALERT!
Error: Can't run project: no main scene defined in the project.
Godot version
v4.6.2.stable.mono.official [71f334935]
VS Code version
1.122.1
Godot Tools VS Code extension version
2.6.1
System information
Windows 11 Home
Issue description
Attempting to create launch the project with
"scene": "current"will show the following error:This only occurs if the main scene is not set in the Godot project.
Steps to reproduce
"scene": "current". For example:Actual Result
An error box pops up with the following information:
Expected Result
Either of the following would be an appropriate result: