Skip to content

Crash when exiting VR on Master Branch #0fe1f286 #5137

@wyzwon

Description

@wyzwon

Description:
Upon exiting VR, I get the following error in the browser console:
Uncaught TypeError: Cannot read properties of null (reading 'removeEventListener') at XRSession.onSessionEnd (three.js:18792:1)
This error leaves the page entirely unresponsive and does not show up in release 1.3.0

  • A-Frame Version: Master build #0fe1f286
  • Platform / Device: gen 1 HTC Vive / Windows 10 / Steam VR / Chrome 106.0.5249.119
  • Reproducible Code Snippet or URL:
    Enter VR mode then hit Esc to exit VR. The scene should then become un-responsive.
    Any A-frame scene using build #0fe1f286. Such as from:
<script src="https://cdn.jsdelivr.net/gh/aframevr/aframe@c27d4a2/dist/aframe-master.min.js"></script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions