Skip to main content
Participant
December 6, 2017
Solved

Why doesn't Dash overlay work in my Unity app?

  • December 6, 2017
  • 5 replies
  • 2288 views
Updated to the latest Oculus Utilities for Unity 1.20, added OVRManager.hasInputFocus check to disable hands, and am running with command line parameter: -oculus-focus-aware as listed here: https://developer.oculus.com/documentation/unity/latest/concepts/unity-lifecycle/

Yet when I invoke Dash from the app it goes to the void instead of appearing in game. What's missing?




This topic has been closed for replies.
Best answer by JianZ
how did you set the cmd line parameter?  it should be "-oculus-focus-aware true"

you can also use the GUI to enable it in custom builds and 2017.3

https://forums.oculusvr.com/developer/discussion/59915/dash-support-has-landed-on-unity-2017-3-custom-builds-available-on-5-6-2017-1-2017-2#latest

5 replies

Inspiring
December 7, 2017
also having this issue with the public channel. Worked last week but now its a no go
Participant
December 7, 2017
Same here. Can not see my game when Dash is active. Ever InputFocus sample from Unity Sample Framework not working.
Intel Core i7-7700K, Asus ROG Strix Z270E Gaming, 32Gb RAM, MSI RTX 2080 8Gb Gaming X Trio
JianZAnswer
Inspiring
December 8, 2017
how did you set the cmd line parameter?  it should be "-oculus-focus-aware true"

you can also use the GUI to enable it in custom builds and 2017.3

https://forums.oculusvr.com/developer/discussion/59915/dash-support-has-landed-on-unity-2017-3-custom-builds-available-on-5-6-2017-1-2017-2#latest

Meta Employee
December 8, 2017
Hi, there is an error in the documentation that we're fixing -- if you use the "-oculus-focus-aware" command line parameter, there is also a required true/false parameter following it. So give "-oculus-focus-aware true" a shot.
Participant
December 8, 2017

JianZ said:

how did you set the cmd line parameter?  it should be "-oculus-focus-aware true"

you can also use the GUI to enable it in custom builds and 2017.3

https://forums.oculusvr.com/developer/discussion/59915/dash-support-has-landed-on-unity-2017-3-custom-builds-available-on-5-6-2017-1-2017-2#latest



Yes I was missing the "true". Working now in vanilla Unity 5.6.4p4, but thanks for the info on custom builds I'll try that next as the depth buffer info might make the near field rendering mismatch work better.