Skip to content
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

Halts on plugins that require refresh #153

Open
ambiguousname opened this issue Sep 8, 2024 · 1 comment
Open

Halts on plugins that require refresh #153

ambiguousname opened this issue Sep 8, 2024 · 1 comment

Comments

@ambiguousname
Copy link

Found a fix, but I thought I should document it in case anyone is encountering similar issues.

For any plugin that requires a refresh/reload to work (for me it was wwise-godot-integration), Godot has no way to handle this in --headless mode. So the Github actions job freezes on a dialog that you can't acknowledge in any way.

The fix here is to use a timeout:

- name: Godot Import
  run: timeout 10 godot --verbose --headless --import

Before running the actual Godot build script:

- name: Godot Build
  run: godot --headless --verbose --export-release "BuildName" build/

And you could probably cache the .godot file to avoid a timeout in the future.

@ambiguousname
Copy link
Author

Oh, although it looks like this miiiight be fixed in 4.4? https://godotengine.org/article/dev-snapshot-godot-4-4-dev-2/#error-less-first-project-import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants