Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Visnicio opened this issue Aug 19, 2024 · 3 comments
Open
Labels

Comments

@Visnicio
Copy link

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 Visnicio added the bug label Aug 19, 2024
@DaelonSuzuka
Copy link
Collaborator

Please share your launch.json.

@Visnicio
Copy link
Author

image
@DaelonSuzuka sure

@DaelonSuzuka
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants