-
-
Notifications
You must be signed in to change notification settings - Fork 22k
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
Exporting in 4.3 RC2 using CLI headless mode without a .godot folder freezes the build #95287
Comments
Can you test 4.3.rc3? |
My guess from the error message "No such file or directory" is the problem were caused by the global class name file missing when no gdscript are present in the project. This has been fixed with #94991 and has been merged for 4.3 rc3. |
Hi. I'll try this in RC3 tonight. Thanks |
I can't reproduce the issue with 4.3.rc2. I tried with a fully empty project (refuses to export), one with just export presets configured (refuses to export since there's no content), adding just a main Node2D scene (exports fine), adding a GDScript (exports fine). Could you provide a reproduction project?
The error is |
Hi @akien-mga So now, when I delete the
It freezes. But when I remove the I think that's why when I run with If I leave it running for like 10 seconds (so we give enough time for the I'm not sure if the issue is present with 4.2 because I didn't have the Jolt addon installed there. I can try it if you want? Anyway, this ticket can be closed. But ideally, a warning message should come up when running in headless mode if it needs to be restarted. I can raise an issue if you want? Or is there a better way to reimport the project in 4.3? Thanks |
Great news! Thanks for testing. For your information, there's a PR to fix this problem this Jolt (and any other GDExtensions) that should be merged for the next Godot version that will fix the need to restart the editor on first start: #93972 |
For the record, I've just run into this problem, on 4.3, when In my case, this'd happened because I'd just duplicated the entire project using |
This issue was fixed by #93972 already. @snoopdouglas Are you using GDExtensions? If yes, your issue might be fixed too. If not, this is likely a separate bug that should have its own bug report with a reproduction project. |
@akien-mga Ah right, no GDExtension - will open a new issue. |
Tested versions
System information
Ubuntu 20.04.6 LTS
Issue description
Hi team,
I've been using Godot 4.2 for a while now and am recently trying out 4.3 RC2 to port my project over.
I'm having trouble with my automated build machine pipeline when exporting my game.
In Godot 4.2, when exporting my the game using the command line, I'd run this command:
This works fine in 4.2. Even though I don't commit the
.godot
folder, running that above command would re-generate that folder.However, in Godot 4.3, the build is stuck.
It may be related to how re-generating the
.godot
folder is done using the headless mode.In Godot 4.2, the below command would re-create the
.godot
and the process would exit gracefully.If I run the same command in 4.3.rc2.official, it creates the
.godot
folder, but it doesn't terminate (even though I have the--quit
argument). I think it just has the editor window open in the background in the build server, which is why exporting is stuck.If I export the game in 4.3 with the
.godot
folder, the export is successful.Steps to reproduce
Sample command:
Minimal reproduction project (MRP)
Any empty/basic project created in Godot would be fine
The text was updated successfully, but these errors were encountered: