-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Assert in ClassDB::set_current_api
in latest master when launched w/ --verbose
#80062
Comments
Cannot replicate on latest |
I was ignoring the error because I thought I may have done something wrong but then I got the same error today on Windows which is why I decided to report it. Do you know what scons settings did you use? I'm uploading my |
I use the same settings as your Linux build minus the llvm, not via VS |
AHHH!!!! Turns out I was missing a command line parameter: It must be launched with |
ClassDB::set_current_api
in latest masterClassDB::set_current_api
in latest master when launched w/ --verbose
I can confirm this issue, bisecting now |
Is indeed caused by the Lines 2583 to 2584 in 3fa8fad
And you cannot update the API hash if it has been read, as per here: godot/core/object/class_db.cpp Lines 58 to 61 in 3fa8fad
The second part was done in #76467 But does seem to be a regression from #78615, as removing any reference to |
I'm not sure why So unless there's some specific reason |
Oh yes Edit: It was made virtual all the way back in #12796, however Edit 2: With some tweaks to documentation generation the Will open a PR in a bit if this is considered a realistic solution |
For the records, I put that |
I think that check is appropriate there |
Godot version
master [75f9c97]
System information
Godot v4.2.dev (262d1ea) - Ubuntu 20.04.6 LTS (Focal Fossa) - X11 - Vulkan (Forward+) - dedicated AMD Radeon RX 6800 XT - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)
Issue description
Running a dev build on both Linux and Windows reaches the following crash:
Call stack (Linux):
Call stack (Windows):
Steps to reproduce
Compile with (possibly not all of those flags are needed):
scons platform=linuxbsd optimize=none debug_symbols=True tests=False dev_mode=True dev_build=True use_llvm=yes use_lld=yes opengl3=no openxr=no
Open a project on the editor with:
Working folder: The project's path
Arguments:
-e --verbose
The --verbose argument is important!
Other info (for bisect)
It must've broken somewhere between 75f9c97 and 6588a4a since it was working fine before that.
Update: It's possible I'm wrong about the bisecting info, because the problem started when I added
--verbose
to the cmd line.Workaround
Just commenting out the assert runs fine.
Minimal reproduction project
Any.
The text was updated successfully, but these errors were encountered: