Search Unity

Question Playmode tests getting stuck due to UPM warning dialog

Discussion in 'Testing & Automation' started by liortal, Feb 10, 2022.

  1. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    We are running our play mode tests from CLI, but recently started facing an issue where the test run would time out. Digging deeper i found that the root cause is the fact that this dialog is presented:

    upload_2022-2-10_12-1-23.png

    1. I'm wondering if anyone else faced this issue?
    2. Can we run play mode tests in batch mode (e.g: by passing -batchmode command line option ? this might solve the problem)

    Any other solutions or suggestions ?
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    I just want to update that i tried running with -batchmode and it works just fine.
     
    superpig likes this.