-
Notifications
You must be signed in to change notification settings - Fork 27
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
Parser Error: Could not find type "ImGuiFont" in the current scope. #72
Comments
Those two simple resource scripts are a self-contained unit, they don't depend on anything else, so this is almost certainly a Godot bug. But good news, a PR was recently merged to address similar issues, and that fix will be in 4.3-beta3. |
Should be fixed upstream in 4.3.0. |
The issue is still present in version v4.3.stable.mono.official [77dcf97d8]. Thanks for your work on ImGui ! |
Alright, there's a workaround I can try. I'm pretty sure it'll work but this is basically impossible to test. It'll be in the next release. |
Also, I can only reproduce this issue on Windows. On my linux laptop there is no issue. |
I'm also seeing this problem, but it is intermittent, I don't think it's related to build changes, it just fails occasionally. I have kind of a weird [Tool] based setup but I'm seeing some other weird frame stalls also, so I will try doing some more debugging. If anyone else has additional details to share, please do. |
this does appear to be an upstream/godot issue: godotengine/godot#82392 I tried the supposed workarounds and they don't work. Because the issue is intermittent it may seem like a workaround fixes it, for a little while. |
Sorry, I committed a workaround last month, but I haven't tagged a new release yet. I'll do that today or tomorrow. |
Fix released in v6.3.0. Let me know if you still encounter similar errors. |
Triggers when launching game within editor. When a C# code change takes place, after first error launching again works fine. Using "imgui-godot-6.0.1-csharp-only.zip" on Godot 4.3.beta2.mono
Specifically this happens after c# code change and the use of "Run Project hotkey". Works fine if you Build project and then use hotkey
on line 4 of ImGuiConfig.gd:
The text was updated successfully, but these errors were encountered: