Search Unity

Build execution without screen

Discussion in 'Editor & General Support' started by kookyoo, May 29, 2017.

  1. kookyoo

    kookyoo

    Joined:
    Apr 19, 2010
    Posts:
    53
    Hi,

    I'm trying to automate builds test using Quickbuild, I would like to be able to launch my builds and do some functionalities and performances tests. The problem is that Quickbuild launches the executable with no screen (as it's a services calling a shell command) and the output_log stays stuck here :

    Code (CSharp):
    1. ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'UI/Default Font' - Setting to default shader.
    2. <RI> Initializing input.
    3.  
    4. XInput1_3.dll not found. Trying XInput9_1_0.dll instead...
    5. <RI> Input initialized.
    6.  
    7. IndexOutOfRangeException: Array index is out of range.
    8.   at UnityEngine.Display.RecreateDisplayList (System.IntPtr[] nativeDisplay) [0x00031] in C:\buildslave\unity\build\artifacts\generated\common\runtime\DisplayBindings.gen.cs:150
    9. (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DisplayBindings.gen.cs Line: 150)
    10.  
    11. desktop: 1024x768 60Hz; virtual: 1024x768 at 0,0
    12. Switching to resolution 1024x768 failed, trying lower one
    13. All resolution switches have failed
    14. Screen: DX11 could not switch resolution (1024x768 fs=0 hz=0)
    15.  
    Does someone has faced this before ? Is there any way to run the build without rendering or with a "virtual" screen ?