Comments (11)
Thanks so much for the heads up and pointing to the solution. I took the PR and deployed it. After a quick test everything seems to work. If it doesn't stick I'll go for the more surgical approach. Let me know if it works you.
from moonrider.
Looks like it worked for me as well.
from moonrider.
Yeah we hit that also in the Chromium port of Wolvic.
from moonrider.
I reverted the update to A-Frame 1.3.0 due to regressions from updating THREE. I also patched THREE in the old A-Frame 1.1.0 to capture the gl.makeXrCompatible
promise. It's an interim quick hack that hopefully fixes the problem on Chrome and Wolvic
@alcooper91 @svillar Can you give https://moonrider.xyz/ a try and verify everything works as expected? Thanks!
from moonrider.
I reverted the update to A-Frame 1.3.0 due to regressions from updating THREE. I also patched THREE in the old A-Frame 1.1.0 to capture the
gl.makeXrCompatible
promise. It's an interim quick hack that hopefully fixes the problem on Chrome and Wolvic@alcooper91 @svillar Can you give https://moonrider.xyz/ a try and verify everything works as expected? Thanks!
Wolvic with Gecko works fine after the revert, thanks!
That said you mention the patch for makeXrCompatible
. Not sure if you're talking about mrdoob/three.js#21126 but at least for Wolvic Chromium, what you patched is not enough, we still need a downstream patch for Chromium to start the WebXR session. Looks like this is needed
from moonrider.
I didn't take any of the THREE patches. I just did "gl.makeXRCompatible().then(function () {})" A hack but I think should work around issues for now. My understanding is that capturing the promise is mandatory.
We will bump THREE (A-Frame) properly in the future. There's always a ton of side effects when updating THREE in particular (hence the revert)
from moonrider.
I haven’t had a chance to check Chrome yet, but my understanding is that you’ll need to wait for that promise to resolve before attempting to create the XRWebGLLayer, I’m not sure that capturing the promise is enough. The error dialog in the issue @svillar linked looks like exactly the error from not waiting on the promise, so it’s likely this is still occurring/the hack is insufficient. I’ll hopefully be able to check into this more tomorrow.
from moonrider.
Thanks @alcooper91 @svillar. @Maxmystere found a fix for the keyboard on A-Frame 1.3.0 and now underlying THREE should incorporate the necessary fixes. Can you confirm on your side? Thanks again.
from moonrider.
Thanks @alcooper91 @svillar. @Maxmystere found a fix for the keyboard on A-Frame 1.3.0 and now underlying THREE should incorporate the necessary fixes. Can you confirm on your side? Thanks again.
It seems to work indeed, however there is now a visual artifact when hovering a letter. See screenshot
from moonrider.
Did not test the keyboard; but confirmed the experience launches for us.
from moonrider.
Thanks for giving it a try
from moonrider.
Related Issues (20)
- Sort by rating?
- "npm install" errors with "Failed to find Electron v1.7.11 for darwin-arm64" HOT 1
- Pico 4 no keyboard 🎹 HOT 1
- Block change HOT 1
- Supermedium.com HOT 1
- [Feature Request] export/backup and import/restore playlist
- Npm install doesn't work HOT 2
- Is the project dead? HOT 2
- I can't launch vr mode what do i do? HOT 3
- CDN or G-Drive link to RAW assets?
- npm install fails due to "Operation timed out" error with git protocol HOT 1
- Some beatmaps throw exception causing game to go weird state HOT 7
- Apple Vision Pro compatibility HOT 2
- Opening keyboard freezes page. It doesn't work HOT 8
- Allow user to save favorites playlist to local disk HOT 3
- npm install fails while installing three.js.git ( checksum error ) HOT 4
- Controllers freeze HOT 7
- npm install: Error while executing: /usr/bin/git ls-remote -h -t ssh://[email protected]/ngokevin/ziploader.git npm ERR! [email protected]: Permission denied (publickey). fatal: Could not read from remote repository. npm ERR! Please make sure you have the correct access rights and the repository exists. HOT 3
- [Discussion] Scoring system rework HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moonrider.