cancel
Showing results for 
Search instead for 
Did you mean: 

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

CharliePride
Explorer
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?




2 ACCEPTED SOLUTIONS

Accepted Solutions

JianZ
Expert Protege
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-custo...

View solution in original post

kersk
Expert Protege
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.

View solution in original post

5 REPLIES 5

MikeF
Trustee
also having this issue with the public channel. Worked last week but now its a no go

Shii
Protege
Same here. Can not see my game when Dash is active. Ever InputFocus sample from Unity Sample Framework not working.

JianZ
Expert Protege
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-custo...

kersk
Expert Protege
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.

CharliePride
Explorer

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-custo...



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.