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
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
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
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