Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

VRDevice.isPresent returns true ionly if VR is enabled

$
0
0
Don't know if this is intended behaviour or a bug, but VRDevice.isPresent only returns true, if VRSettings.enabled == true. I wanted to use VRDevice.isPresent to determine if I can enable VR or not, but this behaviour makes that impossible.

Workaround: VRSettings.loadedDevice != VRDeviceType.None works even when VRSettings.enabled == false.

If this behaviour is not intended, I can file a bug report.

Viewing all articles
Browse latest Browse all 12131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>