question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Oculus Quest VR: texImage3D is not a function

See original GitHub issue
Description of the problem

When calling render with renderer.vr.enabled = true; on Oculus quest, you get the error:

Error message: Uncaught TypeError: texImage3D is not a function
URL: three.js 
Line Number: 22118

This appears to be related to multiview which I presume is used for VR now.

This issue is very recent. Yesterday before my Oculus Quest automatically updated itself, I was able to run my VR game fine on it. After the update, I had to switch to using XR instead. I downloaded the latest build of three.js. Now whenever vr.enabled === true I get this error.

Three.js version
  • Dev
OS
  • Android

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:25 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
Artyom17commented, Dec 17, 2019

7.1 should be released this week, btw.

3reactions
fernandojsgcommented, Dec 17, 2019

I just tested the apk and I can confirm OVR_multiview2 is not exposed in the WebGL1 context, and multiview is working as expected with no antialias context (Using this PR: https://github.com/mrdoob/three.js/pull/18178). I have tried also the rest of the examples and all of them works fine on the v7.1 Thanks @Artyom17 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

oculus quest 2 not working at all?? - Meta Community Forums
With your headset on, hold the power button on the right side of your headset down until you're prompted with a shut-down screen....
Read more >
WebGL2RenderingContext.texImage3D() - Web APIs | MDN
The WebGLRenderingContext.texImage3D() method of the WebGL API specifies a three-dimensional texture image.
Read more >
Review: We do not recommend the $299 Oculus Quest 2 as ...
More powerful wireless-VR hardware, which powers nifty under-the-hood tricks. Less battery life. You'll barely exceed two hours of gaming on a ...
Read more >
Troubleshoot Quest Link and Air Link - Meta
The Meta Quest mic may not function properly when using Meta Quest with Link ... party VR software on your PC, make sure...
Read more >
Recently Active 'emscripten' Questions - Page 5 - Stack Overflow
I am trying to use emscripten to call my c/c++ function from js. ... on a project that streams a video feed from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found