Search Issue Tracker

By Design

Votes

0

Found in

Issue ID

1075882

Regression

No

WaitForEndOfFrame never returns in batchmode

Scripting

-

Steps to reproduce:
1. run tests on attached project from command line with batchmode turned on
[path-to-unity]/Unity.exe -runTests -projectpath [path-to-project]\BatchmodeRepro\ -testPlatform playmode -testResults [path-to-save-results]\testresults.xml -batchmode

Actual: the test result shows a timing out test
Expected results: there is one passing test

Reproduced on: 2018.3.0a6

The project contains following test which should always pass:

[UnityTest]
public IEnumerator WaitForEndOfFrame_DoesNotTimeout()
{
yield return new WaitForEndOfFrame();
}

Although if called in batchmode it never returns and ends up timing out.

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.