Search Issue Tracker

Fixed in 2020.1.X

Votes

1

Found in

2019.2

2019.2.13f1

2019.3

Issue ID

1202827

Regression

No

Batch mode async method invoked from -executeMethod unexpectedly terminated by -quit timeout

Scripting

-

How to reproduce:
1. Extract "AsyncExecuteAndWait.zip" project
2. Open the project (the Library must be rebuilt with every Unity version or the issue will not reproduce)
3. Close all the Unity Editors
4. Import the attached "build.bat" file into the project
5. In "build.bat" file modify the Editor location
6. Run "build.bat" via cmd
7. Observe cmd and a generated file called "vlog.log" (this takes about 5 minutes)

Expected result: no errors are thrown, in "vlog.log" unity "Builder.VoidDoBuild" function is called and the contents of it are printed
Actual result: error is thrown "Aborting batchmode due to failure: Timeout while executing 'executeMethod' method 'Builder.VoidDoBuild'."

Reproducible with: 2019.2.16f1, 2019.3.0f2, 2020.1.0a15
Could not test with: 2017.4, 2018.4 async functions were not yet implemented, errors are thrown. 2020.1 due to error "Failed to activate/update license via batch mode"

  1. Resolution Note (fix version 2020.1):

    Added -quitTimeout argument where the timeout is passed in seconds. e.g. "-quitTimeout 60" for 60 seconds.

Comments (2)

  1. recurv

    Dec 06, 2021 12:09

  2. MioIslandLabs

    Nov 04, 2020 09:02

    Requesting backport to 2019.4. The current timeout causes our build pipelines to be fail occasionally.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.