Skip to content

[Bug] WebGL2 Black screen due to TypeError '''requestAnimationFrame' called on an object that does not implement interface Window" #744

@Squall-Leonhart

Description

@Squall-Leonhart

Checklist

  • I will only use English in my report.
  • I have used the search function for open and closed issues to see if someone else has already submitted the same bug report.
  • I will describe the problem with as much detail as possible.

xCloud officially supports your country/region

Yes

The bug doesn't happen when you disable Better xCloud script

Yes

Previous Better xCloud versions didn't have this bug (name which one)

No

Device

Desktop

Device

PC

Operating System

Windows 11

Android app/Browser Version

Waterfox 6.5.x

Better xCloud Version

6.7.0

Game list

Every Game

Reproduction Steps

`Uncaught (in promise) TypeError: 'requestAnimationFrame' called on an object that does not implement interface Window.
    setupRendering moz-extension://b9eb7fd0-f3ea-4a60-b2c4-40608f9875c9/userscripts/Better-xCloud.user.js?id=6ce7546a-2129-49a6-9dc3-60bd9d47e303:83
    init moz-extension://b9eb7fd0-f3ea-4a60-b2c4-40608f9875c9/userscripts/Better-xCloud.user.js?id=6ce7546a-2129-49a6-9dc3-60bd9d47e303:83
    switchPlayerType moz-extension://b9eb7fd0-f3ea-4a60-b2c4-40608f9875c9/userscripts/Better-xCloud.user.js?id=6ce7546a-2129-49a6-9dc3-60bd9d47e303:268
    showFunc moz-extension://b9eb7fd0-f3ea-4a60-b2c4-40608f9875c9/userscripts/Better-xCloud.user.js?id=6ce7546a-2129-49a6-9dc3-60bd9d47e303:269
    n https://assets.play.xbox.com/playxbox/static/js/4811.f2a983b7.js:2
    p https://assets.play.xbox.com/playxbox/static/js/4811.f2a983b7.js:2
    T https://assets.play.xbox.com/playxbox/static/js/4811.f2a983b7.js:2
    play moz-extension://b9eb7fd0-f3ea-4a60-b2c4-40608f9875c9/userscripts/Better-xCloud.user.js?id=6ce7546a-2129-49a6-9dc3-60bd9d47e303:269
    tryResumePlayback https://www.xbox.com/en-US/play/launch/halo-the-master-chief-collection/9MT8PTGVHX2P line 10 > injectedScript line 203 > eval:3
    connectWebRTC https://www.xbox.com/en-US/play/launch/halo-the-master-chief-collection/9MT8PTGVHX2P line 10 > injectedScript line 203 > eval:3
    n https://assets.play.xbox.com/playxbox/static/js/4811.f2a983b7.js:2
[9MT8PTGVHX2P line 10 > injectedScript:83:1863](https://www.xbox.com/en-US/play/launch/halo-the-master-chief-collection/9MT8PTGVHX2P%20line%2010%20%3E%20injectedScript)
    setupRendering moz-extension://b9eb7fd0-f3ea-4a60-b2c4-40608f9875c9/userscripts/Better-xCloud.user.js?id=6ce7546a-2129-49a6-9dc3-60bd9d47e303:83
    init moz-extension://b9eb7fd0-f3ea-4a60-b2c4-40608f9875c9/userscripts/Better-xCloud.user.js?id=6ce7546a-2129-49a6-9dc3-60bd9d47e303:83
    InterpretGeneratorResume self-hosted:1429
    AsyncFunctionNext self-hosted:804
    (Async: async)
    switchPlayerType moz-extension://b9eb7fd0-f3ea-4a60-b2c4-40608f9875c9/userscripts/Better-xCloud.user.js?id=6ce7546a-2129-49a6-9dc3-60bd9d47e303:268
    showFunc moz-extension://b9eb7fd0-f3ea-4a60-b2c4-40608f9875c9/userscripts/Better-xCloud.user.js?id=6ce7546a-2129-49a6-9dc3-60bd9d47e303:269
    n https://assets.play.xbox.com/playxbox/static/js/4811.f2a983b7.js:2
    (Async: EventListener.handleEvent)
    p https://assets.play.xbox.com/playxbox/static/js/4811.f2a983b7.js:2
    T https://assets.play.xbox.com/playxbox/static/js/4811.f2a983b7.js:2
    play moz-extension://b9eb7fd0-f3ea-4a60-b2c4-40608f9875c9/userscripts/Better-xCloud.user.js?id=6ce7546a-2129-49a6-9dc3-60bd9d47e303:269
    tryResumePlayback https://www.xbox.com/en-US/play/launch/halo-the-master-chief-collection/9MT8PTGVHX2P line 10 > injectedScript line 203 > eval:3
    connectWebRTC https://www.xbox.com/en-US/play/launch/halo-the-master-chief-collection/9MT8PTGVHX2P line 10 > injectedScript line 203 > eval:3
    n https://assets.play.xbox.com/playxbox/static/js/4811.f2a983b7.js:2
    dispatchEvent resource://gre/modules/media/PeerConnection.sys.mjs:895
    dispatchEvent resource://gre/modules/media/PeerConnection.sys.mjs:1881
    fireTrackEvent resource://gre/modules/media/PeerConnection.sys.mjs:2037

Screenshot/video

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions