Chrome "immersive-vr" isSessionSupported 在 threejs.org 示例中给出 false

Chrome "immersive-vr" isSessionSupported gives false with threejs.org examples

目前在我看来是Chrome83,虽然连接了HTC Vive(安装了SteamVR 1.9.16),但不支持任何VR体验。手动启动时,SteamVR 还会找到耳机、控制器和基站。

https://threejs.org/examples/?q=webxr#webxr_vr_ballshooter

任何 VR 示例说明 "VR not supported"

仔细研究了一下,导航器描述了 "immersive-vr" 会话不可用。下面代码的承诺响应是:false

navigator.xr.isSessionSupported('immersive-vr').then((issupported) => {console.log(issupported)})

以前链接到 WebXR 的 Chrome (83.0.4103.61) 的标志不再可用。

知道我做错了什么吗?

编辑:

navigator.xr.requestSession( 'immersive-vr', { optionalFeatures: [ 'local-floor', 'bounded-floor' ] } ).then( (session) => console.log(session) );

给出: 未捕获(承诺)DOMException:不支持指定的会话配置。

问题将由支持 OpenVR 的 SteamVR 解决,因为他们将...

https://steamcommunity.com/games/250820/announcements/detail/2396425843528787270

在那之前我建议使用:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --enable-features=openvr --disable-features=XRSandbox --force-webxr-runtime=openvr --enable-experimental-web-platform-features https://threejs.org/