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

Batch build failing with package installed #23

Open
RodGreen opened this issue May 8, 2023 · 1 comment
Open

Batch build failing with package installed #23

RodGreen opened this issue May 8, 2023 · 1 comment

Comments

@RodGreen
Copy link

RodGreen commented May 8, 2023

This package caused our jenkins batch build process to fail (Unity 2022.2.16f1)
-quit -batchmode -buildWindows64Player "${WORKSPACE}\AutoBuild\Active\Game.exe" -logFile - | findstr "^"
The unity batch build completes (everything wraps up) but then hangs and causes a return error code.

Timeout after 300 seconds while waiting async operations to finish. executeMethod ''
Aborting batchmode due to failure:
Timeout after 300 seconds while waiting async operations to finish. executeMethod ''
Exiting without the bug reporter. Application will terminate with return code 1

Confirmed by removing the package and build succeeds again.

@marwie
Copy link
Member

marwie commented May 9, 2023

Hello @RodGreen thanks for the report

I'm not entirely sure why this happens. Could you perhaps ry adding if(Application.isBatchMode) return; in the methods that initialize selective profiler?
https://github.com/search?q=repo%3Aneedle-tools%2Fselective-profiling%20InitializeOnLoad&type=code

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

No branches or pull requests

2 participants