Comments (6)
Hi @TylerSeppala !
I saw the email first and replied there, but here's a summary for anyone who comes across this issue:
library_webxr.js
is from emscripten-webxr, which has received some updates, but nothing directly relating to thedynCall()
error you have here. You might find useful cmake flags there and using that repository as a subproject allows you to link to it like a static library.- Port forwarding should not be related here, that works fine with emscripten-webxr.
Which emscripten version are you using?
from magnum-examples.
Alright, good to know. I'm using emscripten 3.1.1
from magnum-examples.
New developments:
I just decided to go all the way back to emscripten v1.39.4 because that was the version around the time this code was written... and it kind of works. I can now enter VR and see everything just fine, but it seems that shading isn't working properly. The sides of the cubes that are supposed to have any amount of shadow are completely black.
So it seems the problem is definitely surrounding the emscripten version. Maybe I just need to find the right version?
from magnum-examples.
This is the new error I'm getting... mean anything to anyone?
Uncaught TypeError: Cannot read properties of null (reading 'transform')
at _webxr_get_input_pose (magnum-webxr.js:6621)
at magnum-webxr.wasm:0x4032
at magnum-webxr.wasm:0x72fd
at magnum-webxr.wasm:0x3874
at magnum-webxr.wasm:0x4afef
at Module.dynCall_viiii (magnum-webxr.js:7156)
at dynCall (magnum-webxr.js:538)
at XRSession.onFrame (magnum-webxr.js:6698)
from magnum-examples.
Whew, so much trouble, I wonder how this is working so well for us 🤔
We're on 2.0.23 at the moment. With a bit of luck that might the version that works for you, too?
from magnum-examples.
Thanks, I'll definitely try that in the morning!
from magnum-examples.
Related Issues (20)
- Unable to build ImGui example using Vcpkg out of the box HOT 6
- Dragging and Dropping Example?
- Audio Example not working HOT 2
- Any gizmos Demo?
- ViewerExample: Generate mesh normals logic is backwards HOT 1
- Text example doesn't render any text on iOS Safari HOT 5
- Undefined variabls HOT 3
- ImGui Rendering State Features HOT 3
- Fix HDPI problem for WebGL examples HOT 1
- Creating my own glb HOT 2
- MeshData.h include no longer valid? HOT 4
- [arch] Dart example configuration fail HOT 2
- EmscriptenApplication.js:35:2:WebXR unsupported in this browser HOT 4
- <box2d/box2d.h> case-sensitive issue HOT 2
- _degf Error HOT 1
- Viewer example closes at startup... HOT 2
- Trouble loading plugins in Viewer demo HOT 5
- Linker errors building Bullet and ImGui examples HOT 5
- Clearly document the implications of deferred GL context creation 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 magnum-examples.