WebVR 不适用于最新版本的 Firefox

WebVR not working with latest version of Firefox

我在最新版本的 Firefox 中使用 WebVR 项目的 VR 功能时遇到了问题。通常在启动 VR 后不到一分钟,SteamVR 将开始在响应和无响应之间闪烁,同时帧率下降。重启 SteamVR 并重新加载项目有时会解决问题,有时则需要完全重新安装 SteamVR。即便如此,问题仍会 return 以与以前相同的方式出现,导致 VR 功能无法使用。

我注意到 2018 年 6 月的旧版本 Firefox particularly this one here 没有同样的问题,并且 运行 VR 不会出现问题。 WebVR API 有什么变化吗?

我为 my project here, and you can find a live version here. 创建了一个版本为了使用 VR 功能,首先单击 VR 图标,然后按 'v' 键进入和退出跟踪。

听起来您 运行 遇到了这个最近的 Firefox 错误:

https://bugzilla.mozilla.org/show_bug.cgi?id=1514417 - "WebVR framerate drops to < 1 FPS after several minutes, requires full restart"

该错误已在最新的 Firefox Nightly 中修复:https://www.mozilla.org/en-US/firefox/channel/desktop/#nightly