Skip to main content
Up and Coming
July 29, 2014

Unity 4.5.2p2 released with "output to monitor" option

Hi guys,

I know there have been problems using Unity in the past with getting the image to output to the Rift monitor, requiring the '-adapter' command line option, so I just wanted to let you know about our new patch release of Unity 4.5.2p2 which has a whole rewritten way of handling fullscreen modes on Windows, and lets you select the output monitor.

http://forum.unity3d.com/threads/unity-patch-releases.246198/#post-1711628

We are very interested to hear feedback, hopefully this improves using Unity and the Rift DK1 and DK2.
Please let us know either here, or on the subreddit post I made:
http://www.reddit.com/r/oculus/comments/2bzm9d/unity_452p2_released_with_option_to_select_output/
Or on this thread here on the Unity forums:
http://forum.unity3d.com/threads/the-oculus-rift-experience-tell-us-what-you-think.228197/

If you find a bug, please report a bug with the Bug Reporter ( http://answers.unity3d.com/questions/578888/how-can-i-report-a-bug-most-effectively.html ), and post the bug number here (so we can avoid any duplication)!

Thanks everyone!

Direct link to Windows installer:
http://beta.unity3d.com/download/8354998877/UnitySetup_update-4.5.2p2.exe

Dave
    This topic has been closed for replies.

    10 replies

    Up and Coming
    July 29, 2014
    Thanks so much for the Rift specific attention, I'll go get 4.5.2p2 and check it out.
    Inspiring
    July 29, 2014
    Thanks Dave, I appreciate the post and the patch!
    Titans of Space PLUS for Quest is now available on DrashVR.com
    Up and Coming
    July 29, 2014
    thanks, I will try that tomorrow. The "DirectToRift.exe" actually works very well for me but many testers of our game experienced problems with it so this is a very welcome feature!
    ______________________ mySite www.darkfield-vr.com
    Up and Coming
    July 30, 2014
    Hey Dave,

    the Display switching works very well! However unity seems to use only the display refreshrate of the primary monitor to vsync the picture. So when I'm using a normal 60hz monitor with the 75hz DK2 as second screen, Unity still uses a 60hz target for vsync resulting in an extremly juddering movement.
    I have to use the Rift as primary monitor to get a 75hz vsync target which is really unhandy.

    Can you fix this, too?
    Thanks in advance
    ______________________ mySite www.darkfield-vr.com
    Up and Coming
    July 30, 2014
    "Podden" wrote:


    the Display switching works very well! However unity seems to use only the display refreshrate of the primary monitor to vsync the picture. So when I'm using a normal 60hz monitor with the 75hz DK2 as second screen, Unity still uses a 60hz target for vsync resulting in an extremly juddering movement.
    I have to use the Rift as primary monitor to get a 75hz vsync target which is really unhandy.

    Thanks in advance


    Ahh thats why it was juddering, thanks for finding this! at least we have a work around now.
    Up and Coming
    August 5, 2014
    "Podden" wrote:
    Hey Dave,

    the Display switching works very well! However unity seems to use only the display refreshrate of the primary monitor to vsync the picture. So when I'm using a normal 60hz monitor with the 75hz DK2 as second screen, Unity still uses a 60hz target for vsync resulting in an extremly juddering movement.
    I have to use the Rift as primary monitor to get a 75hz vsync target which is really unhandy.

    Can you fix this, too?
    Thanks in advance


    Good spot: I'll pass this on to the graphic team!

    Just a heads up, another bug has been found in this version (4.5.2p2) where fullscreen mode is launched on the leftmost window instead of the primary window (the bug ID is 624109 for my own reference).
    The bug only occurs when you don't show the resolution dialog.
    Should be fixed in the next patch.
    Up and Coming
    August 5, 2014
    Thanks for the hard work Dave. Any ETA on the next patch?
    My VR projects - Stage Presence and LMD VR Projects I've contributed to The Matrix VR and Star Citizen Follow me on Twitter @JonDadley
    Up and Coming
    August 5, 2014
    Okay I'm fiddling around with that and figured out how to get 75fps without oculus as primary monitor:
    Just set vsync count to "don't sync" in unity quality settings and put

    Application.targetFrameRate = 75;

    in one of your Start or Awake Calls.
    You can check for DK2's camera first to prevent 75hz on DK1 and other displays.
    But this seems not as smooth as the oculus demoscene in the config tool or making the rift primary display.

    The bug you described does not appear here. Oculus is the right display (2 total) and after setting the right display as primary (holding shift when clicking exe to get the resolution dialog) unity saves this setting for the next start. Works very well!
    ______________________ mySite www.darkfield-vr.com
    Up and Coming
    October 24, 2014
    Not sure if this is related, but now G-Sync doesn't work anymore with any Unity build. Tested on a Asus ROG Swift monitor and a 780ti.
    Up and Coming
    October 24, 2014
    Is this included in any of the 4.6 beta releases?