godot-vscode-plugin icon indicating copy to clipboard operation
godot-vscode-plugin copied to clipboard

4.3 - script doesn't understand file structure when started from VS Code

Open Visnicio opened this issue 1 year ago • 3 comments

Godot version

4.3 stable

VS Code version

1.92.1

Godot Tools VS Code extension version

2.1.0

System information

Windows 10

Issue description

I have a scene manager autoload that is responsible for loading and unloading the levels of my game

image

But it seems that with the 4.3 branch of godot, whenever I run the project via vscode the code doesn't understand the file structure of my game

Starting the project by the engine works all fine

In my case, level_scene is always null

Steps to reproduce

I don't know if its easy to reproduce, but maybe try to load something via a params

Visnicio avatar Aug 19 '24 20:08 Visnicio

Please share your launch.json.

DaelonSuzuka avatar Aug 19 '24 20:08 DaelonSuzuka

image @DaelonSuzuka sure

Visnicio avatar Aug 19 '24 21:08 Visnicio

I can't think of any mechanism that would cause this issue. You'll need to either share your project or produce some kind of minimal example that can reproduce the problem.

DaelonSuzuka avatar Sep 08 '24 04:09 DaelonSuzuka