Loading...

Randomly Failing Playmode Tests in Unity

Unity
April 19, 2019
One minute to read
Share this post:

For the last year my current project developed several playmode tests in Unity. These tests get executed by our Jenkins as part of our continues integration strategy. But since we started using them we experienced strange randomly failing tests because they reached their timeout.

Today we finally found the issue! Until now (version 2018.2), Unity (on MacOS? We don’t build on Windows machines) slows down when no output device is detected and the user is not logged in.

So the (very unsatisfying) solution is attaching a monitor and logging in the the user on our buildmachines.

Have you heard of Marcus' Backend Newsletter?

New ideas. Twice a week!
Top