-
-
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
Lightmap GI headless segfault #94008
Comments
BTW, I also filed this issue in Liblast's issue tracker on Codeberg: |
BTW, this is still reproducible in 4.3 RC2:
|
I've done some testing and it seems that the crash is related to LightmapGI. |
I have updated the initial post and added a link to MRP and a video demonstration on how it works: |
Sounds like it might be a duplicate of #89119 |
It does seem so, maybe my MRP will be useful in fixing this? |
With this build: #95103 $ ./bin/godot.linuxbsd.editor.x86_64 --path ~/build/src/godot-repros/lightmap-headless/headless-lightmap-gi-crash/ --headless
Godot Engine v4.3.rc.custom_build.3978628c6 (2024-07-31 22:06:47 UTC) - https://godotengine.org
Did not crash |
Closing per @jamie-pate's comment. |
Great news! It'd be great to see this fix make it to 4.3 stable. If not - I guess I can make a custom build for the dedicated servers for now.,, |
Well this fix is in 4.3.rc3. |
Tested versions
Reproducible in 4.2.2 stable and v4.3.beta.custom_build.b97110cd3 (2024-07-05 14:38:10 UTC)
System information
Arch Linux + X11 + Radeon RX6800XT
Issue description
When the game is run with
--headless --dedicated
parameters Godot crashes seemingly as it's loading or spawning a game level.--dedicated
itself works fine,--headless
also but combined they trigger the crash.I've used prints to find out what exact line is executed when the crash happens and it's attaching the loaded and instantiated map scene to the scene tree:
Output:
Steps to reproduce
git-lfs
installedgit clone git@codeberg.org:Liblast/Liblast.git
cd ./Liblast/src/game
godot --editor
godot --headless --dedicated
Minimal reproduction project (MRP)
So far I can't produce one.
EDIT (2024-08-03):
headless-lightmap-gi-crash.zip
Video demonstration on how to use this:
https://youtu.be/2PtDuEWL2P4
The text was updated successfully, but these errors were encountered: