exigow/intellij-gdscript

"Run scene" feature is not working for Godot 4 projects

exigow opened this issue · 1 comments

exigow commented

It's working only when TSCN file is placed in the same directory as project.godot file.

If scene is in subdirectory (for example: scenes/my-scene.tscn), right clicking on TSCN -> Run scene starts editor (some kind of fallback scenario), not scene.

It's working fine for Godot 3.5.2 projects (tested).

exigow commented

Issue created: godotengine/godot#80825

Required changes (assuming it's not a regression):
1. Working directory must be always set to project directory
2. Path to the scene file must be relative to project directory

E.g. running configuration must produce godot scenes/scene.tscn.

Explicit --upwards should solve issue.