cryptovoxels / issues

🐞 Bugs and issues to be resolved on cryptovoxels
5 stars 1 forks source link

It does not load the VR scene on oculus quest #118

Open wernert opened 4 years ago

wernert commented 4 years ago

Describe the bug It does not load the VR scene on oculus quest and desktop chrome with WebXR API emulator

To Reproduce Steps to reproduce the behavior:

  1. Go to https://www.cryptovoxels.com
  2. Click on button 'in virtual reality'
  3. Click on the WebXR button
  4. it never loads , shows spinner forever

In devtools console:

babylon.js:16 Refused to connect to 'https://immersive-web.github.io/webxr-input-profiles/packages/viewer/dist/profiles/profilesList.json' because it violates the following Content Security Policy directive: "connect-src 'self' api.opensea.io js.cryptovoxels.com img.cryptovoxels.com controllers.babylonjs.com wss://www.cryptovoxels.com wss://grid.cryptovoxels.com https://www.cryptovoxels.com fonts.googleapis.com fonts.gstatic.com video.cryptovoxels.com api.userfeeds.io wss: https://eth-mainnet.alchemyapi.io https://cdn.cryptovoxels.com wss://cryptovoxels.fly.dev wss://broadcast.cryptovoxels.com https://broadcast.cryptovoxels.com".

babylon.js:16 Uncaught (in promise) LoadFileError: Error status: 0 - Unable to load https://immersive-web.github.io/webxr-input-profiles/packages/viewer/dist/profiles/profilesList.json at t [as constructor] (https://cdn.babylonjs.com/babylon.js:16:570887) at new t (https://cdn.babylonjs.com/babylon.js:16:571223) at https://cdn.babylonjs.com/babylon.js:16:574202 at XMLHttpRequest.g (https://cdn.babylonjs.com/babylon.js:16:575305)

client-4.11.0.js:3025 WebSocket connection to 'wss://cryptovoxels.fly.dev/pick/' failed: Connection closed before receiving a handshake response

/play?vr=enabled&coords=:1 Access to image at 'https://cdn.cryptovoxels.com/node/img?url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fd61HjTO829HXO%2Fgiphy.gif&mode=color&gif=sheet&frames=36&gif=sheet' from origin 'https://www.cryptovoxels.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

TypeError: Cannot read property 'recalc' of undefined at Connector.allAvatarsToSprites (client-4.11.0.js:3025) at r.callback (client-4.11.0.js:3069) at e.notifyObservers (babylon.js:16) at babylon.js:16

babylon.js:16 DOMException: Failed to execute 'requestSession' on 'XRSystem': There is already an active, immersive XRSession. at e.initializeSessionAsync (https://cdn.babylonjs.com/babylon.js:16:1140135) at https://cdn.babylonjs.com/babylon.js:16:1622477