lundi 29 février 2016

Why does "yield return new WaitForEndOfFrame()" never returns in batchmode?

I am trying to write integration tests by using unity test tools package.

Tests run without problem in the editor (in play mode).

But when I try to run the integration test from the command line (in batchmode) WaitForEndOfFrame coroutine never returns.

Is this a known issue or am I missing something?

I am using the below command to run the tests:

 /Applications/Unity-5.3.1-f1/http://ift.tt/1oPae27 \
  -batchmode \
  -nographics \
  -logfile \
  -projectPath $(pwd) \
  -executeMethod UnityTest.Batch.RunIntegrationTests \
  -testscenes=TestScene \
  -resultsFileDirectory=$(pwd)

Aucun commentaire:

Enregistrer un commentaire