Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. On February 28th the Feedback website will shut down and be redirected to the Unity forums. See the full post for more information.
    Dismiss Notice
  5. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  6. Unity 2018.3 is now released.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Info UWP multi display

Discussion in 'Windows' started by IElectric, Sep 16, 2018.

  1. IElectric

    IElectric

    Joined:
    May 31, 2016
    Posts:
    103
    Hello, can UWP game works with multi display ? On my game I have provide the multi display feature and on Windows standalone build works but doesn't works on UWP build version of the same game, Best regards…

    I'm using

    Unity version: Unity 2018.2.7f1
    Unity Xbox Live plugin version: 1804 QFE 1 Release
    Visual Studio 2017 version: 15.8.4

    D3D, IL2CPP Build
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    5,942
    It should work - what are you seeing happen?
     
  3. IElectric

    IElectric

    Joined:
    May 31, 2016
    Posts:
    103
    Hello, I confirm that my game works in multi display mode in Standalone Build only, in UWP Build the same game and code doesn't works and the screen display flickering.

    Next the code that I'm using to show multi display camera on my game, the second display, if exist, is activated one time and, if there is a second display monitor, main camera show the game on main display and secondary camera show the game on the other display;

    Thank you very much, Cheers…
     
    Last edited: Dec 30, 2018
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    5,942
    So there is a catch... on UWP, there are no APIs currently to move Window or affect where it spawns (we gave fierce feedback to Microsoft on this a while . This, unfortunately, means that the window will just spawn on top of already existing display. Microsoft is adding new APIs for this in an upcoming windows update, but for now the only workaround is moving the window manually (and it's not a workaround you can do as a dev).
     
  5. IElectric

    IElectric

    Joined:
    May 31, 2016
    Posts:
    103
    All clear, thank you very much for your support, Cheers...
     
    Last edited: Dec 30, 2018