Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

"MyGame.exe -adapter N" Doesn't work?

Discussion in 'Windows' started by zezba9000, Dec 6, 2016.

  1. zezba9000

    zezba9000

    Joined:
    Sep 28, 2010
    Posts:
    983
    Some command line args are not working in Unity 5.5 Win10 x64.

    "MyGame.exe -adapter 1/2/3/etc" doesn't do anything like it used to.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,529
    In D3D9 or D3D11 or D3D12?
     
  3. zezba9000

    zezba9000

    Joined:
    Sep 28, 2010
    Posts:
    983
    In D3D11.

    Seems odd a graphics API would have anything to do with Window placement.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,529
    I'll make a bug report.

    EDIT: I cannot reproduce it on 5.5.0f3. The behaviour seems to be identical to both 5.3 and 5.4 - that is, it only works when application is in exclusive fullscreen (just like it is outlined in the docs).
     
    Last edited: Dec 7, 2016
  5. zezba9000

    zezba9000

    Joined:
    Sep 28, 2010
    Posts:
    983
    I see, well we needed this argument for non-exclusive no dlg builds that get launched from another application.
    I've made a C# plugin version instead.