-
Notifications
You must be signed in to change notification settings - Fork 63
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
Build hanging on import game #127
Comments
Hi, I have the issue on my builds, it works locally but not in a GA pipeline. One thing that I tried was to basically recreate what this action does and it still had the issue so it might be coming from Github Runners but I'm not sure how to prove it. |
It seems like it only happens with mono games. |
My build just hung on importing project. I'm not using Mono, but I do have a GDExtension in the project. https://github.com/outfrost/godot-wild-jam-66/actions/runs/7879859504/job/21500903651 There were errors such as
suggesting that the fmod addon wasn't actually loaded. After listing off some more import warnings and errors, the job just sat idle for several minutes. |
Did a bit of digging. This appears to be a problem with Godot itself, as running the editor binary on my project with godotengine/godot#57016 seems related. Essentially, what is likely happening is the editor "displays" a dialogue box with some kind of error/warning/question, and expects an answer, but obviously there is no way to answer in headless mode. |
I've run into this issue as well and temporarily made a shell script to build my game locally. Adding a line that runs Godot and times out then run Godot again to build my templates works for me timeout 10s "$GODOT_PATH" --headless --import --path "./src"
"$GODOT_PATH" --headless --path "./src" --export-release "Windows" || exit
"$GODOT_PATH" --headless --path "./src" --export-release "Mac" || exit
"$GODOT_PATH" --headless --path "./src" --export-release "Linux" || exit My guess is you'd need to add something similar to the doExport() function. |
Hi There,
Would there be any reason why builds would suddenly hang on import game?
🎲 Import project
/home/runner/.local/share/godot/godot_executable/Godot_v4.1.3-stable_mono_linux_x86_64/Godot_v4.1.3-stable_mono_linux.x86_64 /home/runner/work/Blue/Blue/src/project.godot --headless -e --quit
Godot Engine v4.1.3.stable.mono.official.f06b6836a - https://godotengine.org/
WARNING: Custom cursor shape not supported by this display server.
at: cursor_set_custom_image (servers/display_server.cpp:480)
This used to run until a few days ago, now it just gets stuck at the warning using up precious action minutes :)
Export runs fine locally, and this warning has always been there.
The text was updated successfully, but these errors were encountered: