threejs-kit icon indicating copy to clipboard operation
threejs-kit copied to clipboard

TypeError: Cannot set property customDepthMaterial

Open lambocorp opened this issue 6 months ago • 0 comments

Hello, I updated my three version to r176 and am now getting this error on new InstancedSpriteMesh(material, count, renderer).

Uncaught (in promise) TypeError: Cannot set property customDepthMaterial of #<je> which has only a getter
    at new Object3D (three.core.js:13625:28)
    at new Mesh (three.core.js:20345:3)
    at new InstancedMesh (three.core.js:25719:3)
    at new je (index.js:288:5)
    at new Kt (index.js:1015:5)

"@threejs-kit/instanced-sprite-mesh": "^2.5.1", "three": "^0.176.0",

lambocorp avatar Apr 25 '25 12:04 lambocorp