# \#bug

**URL:** https://discourse.threejs.org/tag/bug/46.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Bloom produces moving black patches](https://discourse.threejs.org/t/bloom-produces-moving-black-patches/93028)

<div class="topic-metadata">

**Author:** [@beanladder](https://discourse.threejs.org/u/beanladder)\
**Replies:** 2\
**Last updated:** [July 21, 2026, 8:53pm UTC](https://discourse.threejs.org/t/bloom-produces-moving-black-patches/93028 "2026-07-21T20:53:19Z")

</div>

Adding \<Bloom\> to an otherwise working \`EffectComposer\` chain fills large parts of the frame with black. The black regions are not static, they move and change shape as the camera orbits Removing \`\` makes them disappea…

---

## [Tips on how to debug / avoid React-Three-Fiber race condition](https://discourse.threejs.org/t/tips-on-how-to-debug-avoid-react-three-fiber-race-condition/91170)

<div class="topic-metadata">

**Author:** [@ajp](https://discourse.threejs.org/u/ajp)\
**Replies:** 5\
**Last updated:** [May 7, 2026, 8:46am UTC](https://discourse.threejs.org/t/tips-on-how-to-debug-avoid-react-three-fiber-race-condition/91170 "2026-05-07T08:46:05Z")

</div>

Hey all, I have recently tried to use react-three-fiber and I really enjoy the productivity and simplicity for structuring code. However I ran into a racy bug and I was wondering if anyone had any tips on how to try to d…

---

## [reverseDepthBuffer works instead of reversedDepthBuffer](https://discourse.threejs.org/t/reversedepthbuffer-works-instead-of-reverseddepthbuffer/90954)

<div class="topic-metadata">

**Author:** [@GUESTJS](https://discourse.threejs.org/u/GUESTJS)\
**Replies:** 3\
**Last updated:** [April 14, 2026, 7:23pm UTC](https://discourse.threejs.org/t/reversedepthbuffer-works-instead-of-reverseddepthbuffer/90954 "2026-04-14T19:23:22Z")

</div>

Docs tell that we should use .reversedDepthBuffer But it doesnt work actually. While the old reverseDepthBuffer flag works instead. Nobody else noticed this? Create overlapping geometry like planes or anything else. S…

---

## [CSM bugs with very large objects](https://discourse.threejs.org/t/csm-bugs-with-very-large-objects/88192)

<div class="topic-metadata">

**Author:** [@gnemeth](https://discourse.threejs.org/u/gnemeth)\
**Replies:** 3\
**Last updated:** [January 5, 2026, 4:22pm UTC](https://discourse.threejs.org/t/csm-bugs-with-very-large-objects/88192 "2026-01-05T16:22:36Z")

</div>

I have a very weird bug with the CSM shadows (using r181) regarding very large objects (building-sized) that seem to go out of the shadows’ FOV, or upon inspecting with CSMHelper, seem to break when crossing a cascade. I…

---

## [WebVR unable to start more than once per session](https://discourse.threejs.org/t/webvr-unable-to-start-more-than-once-per-session/86279)

<div class="topic-metadata">

**Author:** [@BoldBigflank](https://discourse.threejs.org/u/BoldBigflank)\
**Replies:** 7\
**Last updated:** [August 18, 2025, 6:21pm UTC](https://discourse.threejs.org/t/webvr-unable-to-start-more-than-once-per-session/86279 "2025-08-18T18:21:03Z")

</div>

I have an issue with Threejs not loading correctly after the first time I enter and exit vr. Here’s my setup Windows 11; Chrome 139.0.7258.128 Steam VR with PlayStation VR2 App open PSVR2 with PC adapter Threejs Drag…

---

## [Exception thrown in StructuredUniform.setValue()](https://discourse.threejs.org/t/exception-thrown-in-structureduniform-setvalue/51269)

<div class="topic-metadata">

**Author:** [@viridia](https://discourse.threejs.org/u/viridia)\
**Replies:** 6\
**Last updated:** [August 12, 2025, 9:44am UTC](https://discourse.threejs.org/t/exception-thrown-in-structureduniform-setvalue/51269 "2025-08-12T09:44:33Z")

</div>

I’ve been struggling for the last 6 months or so with a number of lighting bugs. The most serious of these is an exception thrown in StructuredUniform.setValue() with the following stack trace: at StructuredUniform.setV…

---

## [Can't Import NodeMaterials R169; Error: Cannot read properties of null (reading 'assign')](https://discourse.threejs.org/t/cant-import-nodematerials-r169-error-cannot-read-properties-of-null-reading-assign/73054)

<div class="topic-metadata">

**Author:** [@miguelmyers8](https://discourse.threejs.org/u/miguelmyers8)\
**Replies:** 2\
**Last updated:** [July 9, 2025, 8:01am UTC](https://discourse.threejs.org/t/cant-import-nodematerials-r169-error-cannot-read-properties-of-null-reading-assign/73054 "2025-07-09T08:01:29Z")

</div>

I have two very basic Node projects. Project A imports and call a simple function from project B. and renders it with WebGPURenderer. //Project B import \* as THREE from 'three/tsl'; export const createPlane = () =\> { …

---

## [Three.js – JavaScript 3D Library](https://discourse.threejs.org/t/three-js-javascript-3d-library/74709)

<div class="topic-metadata">

**Author:** [@Ramkumar](https://discourse.threejs.org/u/Ramkumar)\
**Replies:** 2\
**Last updated:** [December 27, 2024, 12:15pm UTC](https://discourse.threejs.org/t/three-js-javascript-3d-library/74709 "2024-12-27T12:15:51Z")

</div>

There is a bug on threejs official documentation Something popup like box is overlapping the content.

---

## [Bug in shader with Webgl in Three.js on Mac](https://discourse.threejs.org/t/bug-in-shader-with-webgl-in-three-js-on-mac/75461)

<div class="topic-metadata">

**Author:** [@AndreasRosdal](https://discourse.threejs.org/u/AndreasRosdal)\
**Replies:** 5\
**Last updated:** [December 24, 2024, 7:59pm UTC](https://discourse.threejs.org/t/bug-in-shader-with-webgl-in-three-js-on-mac/75461 "2024-12-24T19:59:48Z")

</div>

Hi! This is a bugreport in the Freeciv 3D version which uses a custom Webgl shader to render the terrain. Some users on Mac are reporting a bug that the terrain shader-material is always black, when the shader for the …

---

## [Rendering Bug with Metal (iOs, macOS)](https://discourse.threejs.org/t/rendering-bug-with-metal-ios-macos/29812)

<div class="topic-metadata">

**Author:** [@Victor\_Mustin](https://discourse.threejs.org/u/Victor_Mustin)\
**Replies:** 18\
**Last updated:** [July 23, 2024, 8:18pm UTC](https://discourse.threejs.org/t/rendering-bug-with-metal-ios-macos/29812 "2024-07-23T20:18:59Z")

</div>

Hello, https://imgur.com/a/vPtIMMi We’ve found this bug when installing iOS 15 beta. It ruins all rendering when post processing is enabled or when transmission is enabled on a model. I assume it appears in other situa…

---

## [Transmission material and a reflector cannot be active at the same time](https://discourse.threejs.org/t/transmission-material-and-a-reflector-cannot-be-active-at-the-same-time/66890)

<div class="topic-metadata">

**Author:** [@Neofelis](https://discourse.threejs.org/u/Neofelis)\
**Replies:** 2\
**Last updated:** [June 15, 2024, 8:16pm UTC](https://discourse.threejs.org/t/transmission-material-and-a-reflector-cannot-be-active-at-the-same-time/66890 "2024-06-15T20:16:31Z")

</div>

I have a transmission material and a reflector in a scene. When the reflector is active, the refraction of the transmission material disappears. You can see this here if you tilt the model backwards: https://www.body3d…

---

## [Transform Controls mouse controls offset when render on useFrame](https://discourse.threejs.org/t/transform-controls-mouse-controls-offset-when-render-on-useframe/66800)

<div class="topic-metadata">

**Author:** [@Ensar\_Eray\_Akkaya](https://discourse.threejs.org/u/Ensar_Eray_Akkaya)\
**Replies:** 1\
**Last updated:** [June 13, 2024, 8:38am UTC](https://discourse.threejs.org/t/transform-controls-mouse-controls-offset-when-render-on-useframe/66800 "2024-06-13T08:38:43Z")

</div>

TransformControls on my scene normally works but after I render camera on useFrame hook, TransformControls gizmos become offsetted as you can see in the video. All mouse clicks are offseted. useFrame(({camera, …

---

## [VideoTexture stuttered when it played on the android device](https://discourse.threejs.org/t/videotexture-stuttered-when-it-played-on-the-android-device/66448)

<div class="topic-metadata">

**Author:** [@Andy\_Zheng](https://discourse.threejs.org/u/Andy_Zheng)\
**Replies:** 3\
**Last updated:** [June 6, 2024, 3:31pm UTC](https://discourse.threejs.org/t/videotexture-stuttered-when-it-played-on-the-android-device/66448 "2024-06-06T15:31:50Z")

</div>

VideoTexture stuttered when it played on the android device but the sound of video palyed normally. some android device played with dark screen, no picture. I tested it in the browser that came with wechat, also defaul…

---

## [Bug: Chrome Distorts Text When Adding New Elements](https://discourse.threejs.org/t/bug-chrome-distorts-text-when-adding-new-elements/65883)

<div class="topic-metadata">

**Author:** [@Clms](https://discourse.threejs.org/u/Clms)\
**Replies:** 0\
**Last updated:** [May 23, 2024, 9:30am UTC](https://discourse.threejs.org/t/bug-chrome-distorts-text-when-adding-new-elements/65883 "2024-05-23T09:30:19Z")

</div>

I’ve encountered a really strange bug, which occurs (at least) in the latest version of Chrome (125.0.6422.77 (Official Build) (x86\_64)). We’ve tested it on multiple computers, and the issue appears on some, but not on o…

---

## [I am removing some specific meshes from the model](https://discourse.threejs.org/t/i-am-removing-some-specific-meshes-from-the-model/59650)

<div class="topic-metadata">

**Author:** [@Deepak\_Saini](https://discourse.threejs.org/u/Deepak_Saini)\
**Replies:** 2\
**Last updated:** [December 26, 2023, 1:53pm UTC](https://discourse.threejs.org/t/i-am-removing-some-specific-meshes-from-the-model/59650 "2023-12-26T13:53:31Z")

</div>

I am removing some specific meshes from the model, but it gives error :- Am doing this this.bike.traverse((child) =\> { if (child instanceof THREE.Mesh) { if (child.name === "polySurface1") { child.material.…

---

## [Bad performance with prime-run and electron](https://discourse.threejs.org/t/bad-performance-with-prime-run-and-electron/59006)

<div class="topic-metadata">

**Author:** [@leca](https://discourse.threejs.org/u/leca)\
**Replies:** 2\
**Last updated:** [December 11, 2023, 6:15am UTC](https://discourse.threejs.org/t/bad-performance-with-prime-run-and-electron/59006 "2023-12-11T06:15:49Z")

</div>

I’ve created issue on github.com but mrdoob sent me here. Bad performance with prime-run and electron · Issue #27339 · mrdoob/three.js · GitHub Here’s the issue, see no reason to duplicate everything here

---

## [New Webxr AR bug camera rotate 90 deg after few seconds of augmented reality](https://discourse.threejs.org/t/new-webxr-ar-bug-camera-rotate-90-deg-after-few-seconds-of-augmented-reality/55291)

<div class="topic-metadata">

**Author:** [@MauroM](https://discourse.threejs.org/u/MauroM)\
**Replies:** 6\
**Last updated:** [September 11, 2023, 8:17pm UTC](https://discourse.threejs.org/t/new-webxr-ar-bug-camera-rotate-90-deg-after-few-seconds-of-augmented-reality/55291 "2023-09-11T20:17:00Z")

</div>

Last week my webXr augmebted reality seems have bug not related to my code: After few seconds in AR mode, the camera seems turn left of 90°. Tested on Android, Chrome and different smartphone. Any suggestion to fix it…

---

## [GLTFloader works in Chrome but not in Meta Quest 2 Browser](https://discourse.threejs.org/t/gltfloader-works-in-chrome-but-not-in-meta-quest-2-browser/55803)

<div class="topic-metadata">

**Author:** [@Luca\_Fornasari](https://discourse.threejs.org/u/Luca_Fornasari)\
**Replies:** 5\
**Last updated:** [September 9, 2023, 11:31am UTC](https://discourse.threejs.org/t/gltfloader-works-in-chrome-but-not-in-meta-quest-2-browser/55803 "2023-09-09T11:31:08Z")

</div>

I recreated the problem in a sample web app here: https://fornaeffe.github.io/vr-playground/ source code here: If I upload a .glb model with \<input type="file"\> tag and GLTF loader, it works as expected on Chrome on …

---

## [Error in Chrome after updating Oculus: "Unrecognized feature requested: hand-tracking"](https://discourse.threejs.org/t/error-in-chrome-after-updating-oculus-unrecognized-feature-requested-hand-tracking/49410)

<div class="topic-metadata">

**Author:** [@thispatcher](https://discourse.threejs.org/u/thispatcher)\
**Replies:** 1\
**Last updated:** [March 22, 2023, 6:06am UTC](https://discourse.threejs.org/t/error-in-chrome-after-updating-oculus-unrecognized-feature-requested-hand-tracking/49410 "2023-03-22T06:06:36Z")

</div>

I updated Oculus after putting it off for a few months. Now Chrome will not enter VR given a basic ThreeJS WebXR project. I can verify that WebXR works on other sites (not my own, not ThreeJS) as well as XR apps on the d…

---

## [Webgl\_read\_float\_buffer example didn't work on Android](https://discourse.threejs.org/t/webgl-read-float-buffer-example-didnt-work-on-android/392)

<div class="topic-metadata">

**Author:** [@shilin](https://discourse.threejs.org/u/shilin)\
**Replies:** 6\
**Last updated:** [January 7, 2023, 9:51am UTC](https://discourse.threejs.org/t/webgl-read-float-buffer-example-didnt-work-on-android/392 "2023-01-07T09:51:22Z")

</div>

webgl\_read\_float\_buffer example didn't work on Android using Mozilla.

---

## [Staircase artifacts on Macos with standard material and Effectcomposer](https://discourse.threejs.org/t/staircase-artifacts-on-macos-with-standard-material-and-effectcomposer/44539)

<div class="topic-metadata">

**Author:** [@IARI](https://discourse.threejs.org/u/IARI)\
**Replies:** 1\
**Last updated:** [November 17, 2022, 4:20pm UTC](https://discourse.threejs.org/t/staircase-artifacts-on-macos-with-standard-material-and-effectcomposer/44539 "2022-11-17T16:20:08Z")

</div>

I have a render-problem on Apple devices, which i managed to get down to the following minimal example (included OrbitControls just to allow for a better perception of the issue): import { BoxGeometry, DirectionalLi…

---

## [Safari bug on VideoTexture repeat](https://discourse.threejs.org/t/safari-bug-on-videotexture-repeat/41091)

<div class="topic-metadata">

**Author:** [@Grum](https://discourse.threejs.org/u/Grum)\
**Replies:** 3\
**Last updated:** [October 12, 2022, 4:02pm UTC](https://discourse.threejs.org/t/safari-bug-on-videotexture-repeat/41091 "2022-10-12T16:02:27Z")

</div>

Debugging a website I am building and encountered an issue where VideoTexture was appearing to be clamped rather than wrapping on iOS and Mac Safari. On testing standalone, I found that setting needsUpdate = true on anim…

---

## [scene.toJSON() producing undefined value somewhere in the object](https://discourse.threejs.org/t/scene-tojson-producing-undefined-value-somewhere-in-the-object/41331)

<div class="topic-metadata">

**Author:** [@thispatcher](https://discourse.threejs.org/u/thispatcher)\
**Replies:** 0\
**Last updated:** [August 11, 2022, 6:43pm UTC](https://discourse.threejs.org/t/scene-tojson-producing-undefined-value-somewhere-in-the-object/41331 "2022-08-11T18:43:57Z")

</div>

scene.toJSON is producing an object which apparently contains an undefined value. I am working with automerge to handle real-time versioning in my scene, and automerge does not accept undefined values (null is ok) so it …

---

## [THREE.Points() jumping/flickering when used with big X,Y coordinates and OrbitControls](https://discourse.threejs.org/t/three-points-jumping-flickering-when-used-with-big-x-y-coordinates-and-orbitcontrols/38090)

<div class="topic-metadata">

**Author:** [@K\_Dos](https://discourse.threejs.org/u/K_Dos)\
**Replies:** 2\
**Last updated:** [May 13, 2022, 10:20am UTC](https://discourse.threejs.org/t/three-points-jumping-flickering-when-used-with-big-x-y-coordinates-and-orbitcontrols/38090 "2022-05-13T10:20:46Z")

</div>

Here is a fiddle with the problem: Rotate the scene and you will see the Point jumping around (while the axisHelper stays at its position, as it should). I noticed that if I use small numbers for X,Y (e.g. 0, 0) I do …

---

## [Bug with CSS3DObject and mix-blend-mode CSS](https://discourse.threejs.org/t/bug-with-css3dobject-and-mix-blend-mode-css/36431)

<div class="topic-metadata">

**Author:** [@UI\_UNICORN](https://discourse.threejs.org/u/UI_UNICORN)\
**Replies:** 5\
**Last updated:** [March 28, 2022, 7:36pm UTC](https://discourse.threejs.org/t/bug-with-css3dobject-and-mix-blend-mode-css/36431 "2022-03-28T19:36:22Z")

</div>

as you can see if we set a mix-blend value most of them make the video pixelated like so:

---

## [Bugs in multiple scenes documentation](https://discourse.threejs.org/t/bugs-in-multiple-scenes-documentation/36289)

<div class="topic-metadata">

**Author:** [@gyt\_dev](https://discourse.threejs.org/u/gyt_dev)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 5:49pm UTC](https://discourse.threejs.org/t/bugs-in-multiple-scenes-documentation/36289 "2022-03-23T17:49:40Z")

</div>

Hey guys I found a few mistakes in the “Multiple scenes” documentation page at https://threejs.org/manual/?q=multi#en/multiple-scenes grammatical mistake. Needs to be “then” instead of “them”. the renditions shows err…

---

## [Opacity bug in materials documentation](https://discourse.threejs.org/t/opacity-bug-in-materials-documentation/35251)

<div class="topic-metadata">

**Author:** [@TheDutchCoder](https://discourse.threejs.org/u/TheDutchCoder)\
**Replies:** 4\
**Last updated:** [February 24, 2022, 2:34pm UTC](https://discourse.threejs.org/t/opacity-bug-in-materials-documentation/35251 "2022-02-24T14:34:21Z")

</div>

In any of the material docs (example: three.js docs) when you check “transparent” and move the “opacity” slider, nothing changes. I have this issue in all browsers on MacOS. It only starts working when moving the “alph…

---

## [BUG: Import statements in example/jsm examples are broken](https://discourse.threejs.org/t/bug-import-statements-in-example-jsm-examples-are-broken/34871)

<div class="topic-metadata">

**Author:** [@ErrorBot1122](https://discourse.threejs.org/u/ErrorBot1122)\
**Replies:** 2\
**Last updated:** [February 15, 2022, 12:18am UTC](https://discourse.threejs.org/t/bug-import-statements-in-example-jsm-examples-are-broken/34871 "2022-02-15T00:18:40Z")

</div>

There is a wired bug where if you use the example/jsm modules as a standalone with/without three.module.js it shows this error: TypeError: Failed to resolve module specifier "three". Relative references must start with …

---

## [Video Texture RepeatWrapping bug on ios and safari](https://discourse.threejs.org/t/video-texture-repeatwrapping-bug-on-ios-and-safari/33337)

<div class="topic-metadata">

**Author:** [@sabrowi](https://discourse.threejs.org/u/sabrowi)\
**Replies:** 0\
**Last updated:** [January 6, 2022, 9:52am UTC](https://discourse.threejs.org/t/video-texture-repeatwrapping-bug-on-ios-and-safari/33337 "2022-01-06T09:52:12Z")

</div>

I create a video texture for wall object. The wall object is wide, so i need repeat the video texture. The code like this const createVideoMesh = ( obj: Object3D\<ThreeEvent\>, video: HTMLVideoElement ): Mesh =\> …

---

## [Terrible bugs in apk after update threejs (from 129 to 133.1)](https://discourse.threejs.org/t/terrible-bugs-in-apk-after-update-threejs-from-129-to-133-1/30572)

<div class="topic-metadata">

**Author:** [@MixTeR](https://discourse.threejs.org/u/MixTeR)\
**Replies:** 7\
**Last updated:** [October 11, 2021, 7:45am UTC](https://discourse.threejs.org/t/terrible-bugs-in-apk-after-update-threejs-from-129-to-133-1/30572 "2021-10-11T07:45:50Z")

</div>

Yesterday I updated to the latest version of threejs. The first thing I noticed is that my model which uses “skinni mesh” and toonMaterial (pst: model loaded wiht MMDLoader) looked different (less cartoonish) and this wa…

[Next page](https://discourse.threejs.org/tag/bug/46.md?match_all_tags=true&page=1&tags%5B%5D=bug)
