简体   繁体   English

WebVR不适用于最新版本的Firefox

[英]WebVR not working with latest version of Firefox

I've been experiencing an issue when using the VR functionality of a WebVR project in the recent versions of Firefox. 在最新版本的Firefox中使用WebVR项目的VR功能时,我一直遇到问题。 Usually less than a minute after starting VR, SteamVR will begin to flash between responsive and unresponsive while the framerate tanks. 通常在启动VR后不到一分钟,SteamVR将在帧率下降时开始在响应和不响应之间闪烁。 Restarting SteamVR and reloading the project will sometimes fix the issue, other times SteamVR will need to be reinstalled completely. 重新启动SteamVR并重新加载项目有时会解决该问题,而有时需要完全重新安装SteamVR。 Even then the problem will return in the same manner as before, rendering the VR functionality unusable. 即使那样,问题仍会以与以前相同的方式返回,从而使VR功能无法使用。

I noticed that an older version of Firefox from June 2018, particularly this one here , does not have this same issue and will run VR without an issue. 我注意到,自2018年6月起的较旧版本的Firefox( 尤其是此处的版本 )没有相同的问题,并且可以毫无问题地运行VR。 Was there some change in the WebVR API? WebVR API是否有一些更改?

I created a release for my project here , and you can find a live version here. 我在这里我的项目创建了一个发行版,您可以在这里找到一个实时版本。 In order to use the VR capabilities first click the VR icon then press the 'v' key to enter and exit tracking. 为了使用VR功能,首先单击VR图标,然后按“ v”键进入和退出跟踪。

Sounds like you're running into this recent Firefox bug: 听起来您遇到了这个最新的Firefox错误:

https://bugzilla.mozilla.org/show_bug.cgi?id=1514417 - "WebVR framerate drops to < 1 FPS after several minutes, requires full restart" https://bugzilla.mozilla.org/show_bug.cgi?id=1514417- “几分钟后WebVR帧速率降至<1 FPS,需要完全重启”

The bug has been fixed in the latest Firefox Nightly: https://www.mozilla.org/en-US/firefox/channel/desktop/#nightly 该错误已在最新的Firefox Nightly中修复: https//www.mozilla.org/en-US/firefox/channel/desktop/#nightly

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM