-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Building Unity Project Times Out #30
Comments
Hi, @Renanse 👋 Thank you for opening this issue. Per your output, Unity's build command finishes its execution. If the following is the last message you see, what is hanging is the compression step:
Can you try running the job with |
Thank you for the follow-up! Great spot on the compress. That actually does not show up until the process finally times out. In the circleci interface it shows this up until canceling:
But perhaps that is the result of some output buffering or something like that? I will give disabling compression a shot. Here's a snippet of my config, with executor and such:
|
Turning off compression did not fix the issue. Note how there is no ExitCode immediately before the trap_build_script_exit? I believe that run of bee_backend is exceeding the 10minute timeout, perhaps indicating something else is wrong in general with my build because outside of running it here, these commands all take a handful of seconds tops. (e.g. on Unity Cloud Build, etc.)
|
Got it. Thanks for trying and sharing your config! Any chance you can share the full output in Pastebin or somewhere like that? If you can, remember to redact your license. I'll publish a developer version of the orb with the
But we might as well try it. |
Made the change here: https://github.com/game-ci/unity-orb/tree/feat_no_output_timeout_param. You can try the |
Thanks, Eric. I will give that a shot later today. This whole thing took a little wind out of my sail and wondering if I should go with GHA instead :/ |
Hi Eric, happy to report that increasing the timeout helped my build pass. Thank you for your help! |
Thanks for trying it out @Renanse! I have a PR open to officially include the new parameter in the orb on #32.
That's fair. GameCI's Builder Action has been around for three years now, which means It's battle-tested and has had more time to evolve. Nevertheless, I'm glad you took the time to test the orb and provide us with your feedback. |
Orb version:
1.1.0
What happened:
I am building an Android project with Unity 2021.3.6f1 at CircleCI. The framework terminates the job due to no output after 10 minutes.
It appears CircleCI supports customizing this timeout, but it must be passed through by the orb. See also: https://discuss.circleci.com/t/how-to-handle-no-output-timeout-in-orb-command/44934/2
Expected behavior:
Should build, or provide a way around the timeout.
The text was updated successfully, but these errors were encountered: