Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
0
Found in
2019.3
2019.3.0f6
2020.1
Issue ID
1215467
Regression
No
[XR][Oculus Quest][Oculus Go] XRDevice.isPresent always returns false
Repro steps:
1. Open attached project
2. Build and Run on Quest/Go
3. Observe the log
Actual: XRDevice.isPresent always returns false
Reproducible with: 2019.3.2f1, 2020.1.0a23
Comments (1)
-
a436t4ataf
Mar 07, 2020 17:30
Same on Unity 2019.3.3
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Render Graph Execution errors when using GPU occlusion culling with 'Opaque Objects' frame setting disabled on a Camera
- Animator window: “Delete” menu item not greyed out for Base Layer context menu
- Resetting “PC_RP Asset (Universal Render Pipeline Asset)” causes Game view to become black and throws Renderer and NullReference errors in the Console window
- [Mobile] Player Crash on scripting_invoke_profiler_begin when the built Player Scene has an empty UIDocument and is built on IL2CPP
- Unnecessary Warnings are logged when running Player with -batchmode -nographics
Resolution Note (fix version 2020.2):
IsPresent is not available in XR SDK. The following two calls are available as replacement for this functionality:
To detect user presence, follow https://docs.unity3d.com/2019.3/Documentation/ScriptReference/XR.CommonUsages-userPresence.html
If you are looking to determine if the display is active, follow https://docs.unity3d.com/ScriptReference/XR.InputDevices-deviceConnected.html