Skip to content

Going back and forth VR mode with laser controls break app on https #4406

@AG-LucidWeb

Description

@AG-LucidWeb

Hello Community !

With lazer controls, on Oculus Quest, Go and Google Daydream, going in VR mode then escaping then going back again crash aframe when app served over https

  • A-Frame Version: 1.0.3 (and latest version on master/dist)
  • Platform / Device: Oculus Quest, Go (oculus browser) and Google Daydream (chrome)
  • Reproducible Code Snippet or URL: https://glitch.com/~lunar-blossom
    Message in the console with Chrome and Google Daydream and Oculus browser on Quest
tracked-controls-webxr.js:102 Uncaught DOMException: Failed to execute 'getPose' on 'XRFrame': XRSpace and XRFrame sessions do not match.
    at i.tick (https://cdn.jsdelivr.net/gh/aframevr/aframe@2c5c131dccaab9d449fcd0383e98d027a5bc07f6/dist/aframe-master.min.js:907:2890)
    at HTMLElement.tick (https://cdn.jsdelivr.net/gh/aframevr/aframe@2c5c131dccaab9d449fcd0383e98d027a5bc07f6/dist/aframe-master.min.js:943:11885)
    at HTMLElement.render (https://cdn.jsdelivr.net/gh/aframevr/aframe@2c5c131dccaab9d449fcd0383e98d027a5bc07f6/dist/aframe-master.min.js:943:12419)
    at https://cdn.jsdelivr.net/gh/aframevr/aframe@2c5c131dccaab9d449fcd0383e98d027a5bc07f6/dist/aframe-master.min.js:1074:132
    at u (https://cdn.jsdelivr.net/gh/aframevr/aframe@2c5c131dccaab9d449fcd0383e98d027a5bc07f6/dist/aframe-master.min.js:134:27359)
    at XRSession.e (https://cdn.jsdelivr.net/gh/aframevr/aframe@2c5c131dccaab9d449fcd0383e98d027a5bc07f6/dist/aframe-master.min.js:132:12664)```


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions