You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same issue here using VScode and Godot 4.1.
I discovered the issue when creating @export vars in the parent class and then trying to use them in a child class.
VScode shows the errors, but the game runs without problem and the variables are available.
The MRP isn't available anymore and I can't find a cached version, but creating a new project with just those three scripts, I can't reproduce the issue in v4.4.dev.custom_build [92e51fc]
Godot version
v4.1.1.stable.official [bd6af8e]
System information
Godot v4.1.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1080 (NVIDIA; 31.0.15.3623) - Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (8 Threads)
Issue description
An external editor (in my case VS Code) cannot resolve classes. Even though it's working in the Godot Editor:
The same is happening for type annotations:
I may be just doing something wrong. But the editor can definitely connect to the language server ...
Steps to reproduce
1. Create three scripts
foo.gd
bar.gd
and
baz.gd
2. Open them in VS Code
(Make sure you have VS Code configured correctly, as per the README.md of the Godot VS Code extension.)
Open the
bar.gd
andbaz.gd
and hover over the errors.Minimal reproduction project
https://github.com/michaelschufi/godot_base_class_not_found_repro
The text was updated successfully, but these errors were encountered: