Loading...

Randomly Failing Playmode Tests in Unity

Unity
19. April 2019
1 Minute Lesezeit
Beitrag teilen:
Gefällt dir der Beitrag?
Du wirst den Newsletter lieben!

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.

Kennst du schon Marcus' Backend Newsletter?

Neue Ideen. Jede Woche!
Top