Randomly Failing Playmode Tests in Unity
Unity
19. April 2019
Autor
Marcus HeldFor 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.
Dies ist ein Artikel des ehemaligen code-held.com Blog. Leider gibt es für diesen Inhalt keine deutsche Übersetzung.