Search Issue Tracker
Fixed in 5.4.3
Votes
0
Found in
5.4.0f2
Issue ID
818159
Regression
No
[OpenVR | CV1] 5.4.0f2: UnityEngine.VR.VRDevice.isPresent is inconsistent with OpenVR + Rift CV1
OpenVR 5.4.0f2: UnityEngine.VR.VRDevice.isPresent is inconsistent with OpenVR + Rift CV1
2. How we can reproduce it using the example you attached
1) Setup CV1
2) Ensure Open VR is the preferred SDK in the VR SDKs list in Player Settings
3) Now hide the CV1 from the tracking camera so that SteamVR reports "Headset not tracking" and "Not Ready"
Note: Getting SteamVR in this state can be a little finicky so be patient and if it doesn't get in that state for a while after hiding the headset, try rebooting Oculus Home and SteamVR. Also see the attached screenshot for the expected SteamVR state.
4) Once the headset is hidden and not tracking enter playmode.
5) Observe that VRDevice.isPresent is reported as false in both the Awake and Start functions
Expected result:
UnityEngine.VR.VRDevice.isPresent shouldn't return false if the HMD is connected and merely occluded from the view of the basestations/cameras.
License type: Pro
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment