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

Native class "FSM" not found #12

Open
GreenCrowDev opened this issue Dec 23, 2024 · 0 comments
Open

Native class "FSM" not found #12

GreenCrowDev opened this issue Dec 23, 2024 · 0 comments

Comments

@GreenCrowDev
Copy link
Owner

GreenCrowDev commented Dec 23, 2024

How to reproduce:

  1. Delete the .godot folder so that when you open the project Godot repopulates the cache;
  2. Open the project with the editor;
  3. The output consoles will show errors.
modules/gdscript/gdscript_compiler.cpp:123 - GDScript bug: Native class "FSM" not found.
modules/gdscript/gdscript_compiler.cpp:123 - GDScript bug: Native class "FSMState" not found.
modules/gdscript/gdscript_compiler.cpp:123 - GDScript bug: Native class "FSMState" not found.
modules/gdscript/gdscript_compiler.cpp:123 - GDScript bug: Native class "FSMState" not found.
modules/gdscript/gdscript_compiler.cpp:123 - GDScript bug: Native class "FSMState" not found.
modules/gdscript/gdscript_compiler.cpp:123 - GDScript bug: Native class "FSMState" not found.
res://entities/traffic_light/scripts/traffic_light.gd:32 - Compile Error: Identifier not found: FSMState
modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://entities/traffic_light/scripts/traffic_light.gd" with error "Compilation failed". (User)

These errors can be neglected, as it seems that playing the demo project has no issues.
If you reopen the editor a second time after the cache has been generated, the errors are gone.

Related issues:
godotengine/godot#80850
godotengine/godot-cpp#624

EDIT:
The issue seems fixed by godotengine/godot#92667 in 4.4.
It's probably better to wait for the 4.4 stable release.

@GreenCrowDev GreenCrowDev mentioned this issue Dec 23, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant