# \#draco

**URL:** https://discourse.threejs.org/tag/draco/445.md

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

---

## [How to correctly encode & decode custom / additional / generic attributes (e.g., uv1) with DracoLoader + DracoExporter in threejs?](https://discourse.threejs.org/t/how-to-correctly-encode-decode-custom-additional-generic-attributes-e-g-uv1-with-dracoloader-dracoexporter-in-threejs/88568)

<div class="topic-metadata">

**Author:** [@Abdullah\_zafar](https://discourse.threejs.org/u/Abdullah_zafar)\
**Replies:** 0\
**Last updated:** [December 10, 2025, 10:10am UTC](https://discourse.threejs.org/t/how-to-correctly-encode-decode-custom-additional-generic-attributes-e-g-uv1-with-dracoloader-dracoexporter-in-threejs/88568 "2025-12-10T10:10:04Z")

</div>

Hi everyone, I am trying to establish a clean, long-term workflow for encoding and decoding geometries with custom attributes using the Three.js Draco pipeline. My goal is simple: I export a GLB containing: position,…

---

## [Multi DracoLoader instance crash on iphone/safari](https://discourse.threejs.org/t/multi-dracoloader-instance-crash-on-iphone-safari/68835)

<div class="topic-metadata">

**Author:** [@giuliozulian](https://discourse.threejs.org/u/giuliozulian)\
**Replies:** 2\
**Last updated:** [August 1, 2024, 3:19pm UTC](https://discourse.threejs.org/t/multi-dracoloader-instance-crash-on-iphone-safari/68835 "2024-08-01T15:19:24Z")

</div>

I have 3 different glb’s exported from blender that I use in my web page. I use loader with draco, on chrome and in general on the desktop everything works fine but when I try on my iphone (safari) the page crashes. How…

---

## [Draco compressed .glb model returns run time error in ipad devices](https://discourse.threejs.org/t/draco-compressed-glb-model-returns-run-time-error-in-ipad-devices/61852)

<div class="topic-metadata">

**Author:** [@Chinchu](https://discourse.threejs.org/u/Chinchu)\
**Replies:** 5\
**Last updated:** [February 26, 2024, 2:13pm UTC](https://discourse.threejs.org/t/draco-compressed-glb-model-returns-run-time-error-in-ipad-devices/61852 "2024-02-26T14:13:53Z")

</div>

I have 2 .glb models of sizes 360MB and 510MB each which on draco compressing changes to 145MB and 130MB models. The is a react app where one model is loaded on a page and on a button click routes to the next page where …

---

## [Draco compression](https://discourse.threejs.org/t/draco-compression/59675)

<div class="topic-metadata">

**Author:** [@jonghyeok](https://discourse.threejs.org/u/jonghyeok)\
**Replies:** 1\
**Last updated:** [December 27, 2023, 1:41pm UTC](https://discourse.threejs.org/t/draco-compression/59675 "2023-12-27T13:41:20Z")

</div>

Hi! When i import GLB modeling after Draco compression processing through GLTF-Transform, other material information is same but the color value is changed. before RGB (164,121,121) after RGB (94,48,48) before af…

---

## [Can I compress in code after adding texture to my glb model?](https://discourse.threejs.org/t/can-i-compress-in-code-after-adding-texture-to-my-glb-model/56845)

<div class="topic-metadata">

**Author:** [@Ikbal\_Klhc](https://discourse.threejs.org/u/Ikbal_Klhc)\
**Replies:** 0\
**Last updated:** [October 10, 2023, 8:53am UTC](https://discourse.threejs.org/t/can-i-compress-in-code-after-adding-texture-to-my-glb-model/56845 "2023-10-10T08:53:17Z")

</div>

I load my compress model with dracoloader, I assign a user-selected texture to this model, but then when I extract it with gltfExporter. 4 KB model becomes 30 KB when I open it with draco and if I add texture it becomes …

---

## [Updating from v148 to v155 broke dracoloader](https://discourse.threejs.org/t/updating-from-v148-to-v155-broke-dracoloader/54613)

<div class="topic-metadata">

**Author:** [@Torben\_Van\_Assche](https://discourse.threejs.org/u/Torben_Van_Assche)\
**Replies:** 2\
**Last updated:** [August 3, 2023, 10:43pm UTC](https://discourse.threejs.org/t/updating-from-v148-to-v155-broke-dracoloader/54613 "2023-08-03T22:43:19Z")

</div>

My mesh appears to be invalid, where it was valid in v148 it is now invalid in v155. I assume the loader is expecting a .drc file as the documentation suggests. The file has not changed, only my version of threejs. I …

---

## [Three.js Mobile Crash](https://discourse.threejs.org/t/three-js-mobile-crash/52887)

<div class="topic-metadata">

**Author:** [@Spale96](https://discourse.threejs.org/u/Spale96)\
**Replies:** 6\
**Last updated:** [June 21, 2023, 5:21pm UTC](https://discourse.threejs.org/t/three-js-mobile-crash/52887 "2023-06-21T17:21:59Z")

</div>

Hello! Recently i have created portfolio with Next.js and Three.js. I have 3D model which i compressed (Draco) and Balls which float and both rotate on demand. I have resized 3d model from 4k to lower resolution and f…

---

## [Clear and Clean use of Draco](https://discourse.threejs.org/t/clear-and-clean-use-of-draco/52890)

<div class="topic-metadata">

**Author:** [@akharabi](https://discourse.threejs.org/u/akharabi)\
**Replies:** 1\
**Last updated:** [June 17, 2023, 2:02pm UTC](https://discourse.threejs.org/t/clear-and-clean-use-of-draco/52890 "2023-06-17T14:02:06Z")

</div>

Hi there, I am using Three r124, tried to find a tutorial for using Draco but I couldn’t since almost all the links are 404 now. My gltfLoader is able to load animated from Blender as: model = gltfObject.lo…

---

## [KHRONOS\_EXTENSIONS and DRACO compression using React](https://discourse.threejs.org/t/khronos-extensions-and-draco-compression-using-react/50532)

<div class="topic-metadata">

**Author:** [@Ling](https://discourse.threejs.org/u/Ling)\
**Replies:** 16\
**Last updated:** [April 19, 2023, 9:49pm UTC](https://discourse.threejs.org/t/khronos-extensions-and-draco-compression-using-react/50532 "2023-04-19T21:49:24Z")

</div>

Hello, I want to compress a GLB file with DRACO compression in React App using KHRONOS\_EXTENSIONS The following error message appears and I don’t know how to fix that. Thanks in advance. My code is import "./style…

---

## [Failure to load GLB file with DRACO compression](https://discourse.threejs.org/t/failure-to-load-glb-file-with-draco-compression/47818)

<div class="topic-metadata">

**Author:** [@kenjiro](https://discourse.threejs.org/u/kenjiro)\
**Replies:** 5\
**Last updated:** [February 10, 2023, 10:34am UTC](https://discourse.threejs.org/t/failure-to-load-glb-file-with-draco-compression/47818 "2023-02-10T10:34:54Z")

</div>

I want to load a GLB file with DRACO compression. The following error message appears and it seems that buffer.bin cannot be found, but buffer.bin is indeed in the same folder as the GLB file.

---

## [Draco-Compressed gltf escape character handling](https://discourse.threejs.org/t/draco-compressed-gltf-escape-character-handling/47496)

<div class="topic-metadata">

**Author:** [@brian3814](https://discourse.threejs.org/u/brian3814)\
**Replies:** 6\
**Last updated:** [February 3, 2023, 4:56am UTC](https://discourse.threejs.org/t/draco-compressed-gltf-escape-character-handling/47496 "2023-02-03T04:56:40Z")

</div>

Hi guys, I’m new to three.js and testing it with an building scenario, and my gltf node names might contain escape characters such as inches (e.g 1"-pipe). Since the model might be relatively large, I’ve thought to compr…

---

## [Color issue with draco loader](https://discourse.threejs.org/t/color-issue-with-draco-loader/47160)

<div class="topic-metadata">

**Author:** [@ta9i](https://discourse.threejs.org/u/ta9i)\
**Replies:** 2\
**Last updated:** [January 22, 2023, 7:41pm UTC](https://discourse.threejs.org/t/color-issue-with-draco-loader/47160 "2023-01-22T19:41:45Z")

</div>

I want to render some point cloud objects, the raw files have ply format I used draco to compress the raw file into drc files the code bellow loads both compressed and raw data the problem is that the loaded drc file …

---

## [Is there a way to keep vertexColors when compressing an obj file in Draco](https://discourse.threejs.org/t/is-there-a-way-to-keep-vertexcolors-when-compressing-an-obj-file-in-draco/46304)

<div class="topic-metadata">

**Author:** [@AlexGoryushkin](https://discourse.threejs.org/u/AlexGoryushkin)\
**Replies:** 12\
**Last updated:** [January 18, 2023, 4:28pm UTC](https://discourse.threejs.org/t/is-there-a-way-to-keep-vertexcolors-when-compressing-an-obj-file-in-draco/46304 "2023-01-18T16:28:24Z")

</div>

Hello! So my question is there a way to keep vertexColors when compressing an .obj file in Draco? I am using the draco\_encoder.exe console utility on the server side. Each of my .obj objects is one object with different…

---

## [How to set draco decoder in React Native?](https://discourse.threejs.org/t/how-to-set-draco-decoder-in-react-native/44591)

<div class="topic-metadata">

**Author:** [@mannitou](https://discourse.threejs.org/u/mannitou)\
**Replies:** 1\
**Last updated:** [November 14, 2022, 1:53pm UTC](https://discourse.threejs.org/t/how-to-set-draco-decoder-in-react-native/44591 "2022-11-14T13:53:58Z")

</div>

Hi, I would like to load Draco compressed models in an offline React Native app. Since all assets are renamed when compiling the React Native app, the decoder cannot be found if I set the path with ‘dracoLoader.setDecod…

---

## [WASM memory access out of bounds using DracoLoader on Mobile Browsers](https://discourse.threejs.org/t/wasm-memory-access-out-of-bounds-using-dracoloader-on-mobile-browsers/22930)

<div class="topic-metadata">

**Author:** [@dboy](https://discourse.threejs.org/u/dboy)\
**Replies:** 22\
**Last updated:** [September 21, 2022, 10:42am UTC](https://discourse.threejs.org/t/wasm-memory-access-out-of-bounds-using-dracoloader-on-mobile-browsers/22930 "2022-09-21T10:42:10Z")

</div>

Hi, I’m currently running into an issue where I’m trying to load a Draco compressed model using the Draco Loader on mobile browsers and it seems to hard crash during the call to the .load method. iOS Safari not and Chro…

---

## [Drc file uv option](https://discourse.threejs.org/t/drc-file-uv-option/41163)

<div class="topic-metadata">

**Author:** [@Yangjaehong](https://discourse.threejs.org/u/Yangjaehong)\
**Replies:** 12\
**Last updated:** [August 8, 2022, 7:25am UTC](https://discourse.threejs.org/t/drc-file-uv-option/41163 "2022-08-08T07:25:30Z")

</div>

After loading the drc file, I try to apply a texture, but the texture is not applied. Is there a way to apply a texture to a mesh? Is it because there is no uv? Can you turn on uv? The original is composed of mtl…

---

## [Optimal compression settings in blender](https://discourse.threejs.org/t/optimal-compression-settings-in-blender/38086)

<div class="topic-metadata">

**Author:** [@UI\_UNICORN](https://discourse.threejs.org/u/UI_UNICORN)\
**Replies:** 2\
**Last updated:** [May 12, 2022, 3:10pm UTC](https://discourse.threejs.org/t/optimal-compression-settings-in-blender/38086 "2022-05-12T15:10:27Z")

</div>

Hi, i know each model is different but i am wondering if you guys have the optimal setting for compression in blender export and what numbers you have set for this:

---

## [Dracoloader failed to load uv2 normally](https://discourse.threejs.org/t/dracoloader-failed-to-load-uv2-normally/37811)

<div class="topic-metadata">

**Author:** [@pbsmart](https://discourse.threejs.org/u/pbsmart)\
**Replies:** 1\
**Last updated:** [May 5, 2022, 2:18pm UTC](https://discourse.threejs.org/t/dracoloader-failed-to-load-uv2-normally/37811 "2022-05-05T14:18:11Z")

</div>

In order to use the lightmap mesh, uv2 is required, but the dracoloader cannot load uv2 normally. I modified the default loading configuration, but the loaded uv2 is not normal this.defaultAttributeIDs = { position…

---

## [Facing problem trying to load khr\_draco\_mesh\_compression](https://discourse.threejs.org/t/facing-problem-trying-to-load-khr-draco-mesh-compression/36203)

<div class="topic-metadata">

**Author:** [@ajabi\_wael](https://discourse.threejs.org/u/ajabi_wael)\
**Replies:** 2\
**Last updated:** [March 23, 2022, 1:21pm UTC](https://discourse.threejs.org/t/facing-problem-trying-to-load-khr-draco-mesh-compression/36203 "2022-03-23T13:21:58Z")

</div>

i dont seem to get this working please i need some help this is the loading code the error i get the model i try to load splint.glb (242.7 KB)

---

## [Can't access draco loader files when working with "Vite"](https://discourse.threejs.org/t/cant-access-draco-loader-files-when-working-with-vite/34099)

<div class="topic-metadata">

**Author:** [@YSLdev](https://discourse.threejs.org/u/YSLdev)\
**Replies:** 4\
**Last updated:** [January 26, 2022, 9:38pm UTC](https://discourse.threejs.org/t/cant-access-draco-loader-files-when-working-with-vite/34099 "2022-01-26T21:38:53Z")

</div>

Hello everyone, I’ve recently gotten familiar with DRACOloader. The problem is the way I have to address the DecoderPath. I am using Vite + Three.js for my project. This is how I have to access the decoder’s path: dra…

---

## [How to use GZip compression with .GLB files?](https://discourse.threejs.org/t/how-to-use-gzip-compression-with-glb-files/24369)

<div class="topic-metadata">

**Author:** [@Saydala](https://discourse.threejs.org/u/Saydala)\
**Replies:** 2\
**Last updated:** [January 24, 2022, 12:27am UTC](https://discourse.threejs.org/t/how-to-use-gzip-compression-with-glb-files/24369 "2022-01-24T00:27:19Z")

</div>

Hello all, I’m working on a medical project at scene optimization phase. I used draco compression for scene environment models like clinic and hospital loopy and mesh optimizer for animated characters as advised from t…

---

## [How to create a .drc (DRACO compressed) file](https://discourse.threejs.org/t/how-to-create-a-drc-draco-compressed-file/32537)

<div class="topic-metadata">

**Author:** [@TheCat](https://discourse.threejs.org/u/TheCat)\
**Replies:** 1\
**Last updated:** [December 10, 2021, 4:05am UTC](https://discourse.threejs.org/t/how-to-create-a-drc-draco-compressed-file/32537 "2021-12-10T04:05:40Z")

</div>

Hi, I dont quite understand how to work with draco compression. When I export a model with Blender, the gltf exporter offers a “compression” option to export draco-compressed .gltf files. However, looking at threejs do…

---

## [\[Solved\] GLTFLoader DRACOLoader in nodejs](https://discourse.threejs.org/t/solved-gltfloader-dracoloader-in-nodejs/5980)

<div class="topic-metadata">

**Author:** [@Alejandro\_Insua](https://discourse.threejs.org/u/Alejandro_Insua)\
**Replies:** 21\
**Last updated:** [October 21, 2021, 12:45pm UTC](https://discourse.threejs.org/t/solved-gltfloader-dracoloader-in-nodejs/5980 "2021-10-21T12:45:48Z")

</div>

Hi. I am trying to load a GLTF binary file (glb) with DRACO compression in a nodejs script. Is there any way to achieve this? Best regards

---

## [How to use draco loader?](https://discourse.threejs.org/t/how-to-use-draco-loader/5363)

<div class="topic-metadata">

**Author:** [@Ayma](https://discourse.threejs.org/u/Ayma)\
**Replies:** 32\
**Last updated:** [October 7, 2021, 8:29pm UTC](https://discourse.threejs.org/t/how-to-use-draco-loader/5363 "2021-10-07T20:29:16Z")

</div>

I followed the instructions on https://github.com/AnalyticalGraphicsInc/gltf-pipeline “Converting a glTF to Draco glTF”. I now have a model called “modelDraco.gltf” but I don’t know how I can load it in. In the documenta…

---

## [Draco & bufferGeometry loading problem in mobile](https://discourse.threejs.org/t/draco-buffergeometry-loading-problem-in-mobile/27750)

<div class="topic-metadata">

**Author:** [@RAUMIK\_RANA](https://discourse.threejs.org/u/RAUMIK_RANA)\
**Replies:** 1\
**Last updated:** [July 3, 2021, 11:47am UTC](https://discourse.threejs.org/t/draco-buffergeometry-loading-problem-in-mobile/27750 "2021-07-03T11:47:03Z")

</div>

I am using 70 draco gltf files in my page. It works fine in pc but when I tried to open page in mobile it crashed with below error. RangeError: Array buffer allocation failed at new ArrayBuffer (\<anonymous\>) at…

---

## [🐉 Anyone using Draco?](https://discourse.threejs.org/t/anyone-using-draco/3074)

<div class="topic-metadata">

**Author:** [@ben](https://discourse.threejs.org/u/ben)\
**Replies:** 32\
**Last updated:** [April 26, 2021, 6:54am UTC](https://discourse.threejs.org/t/anyone-using-draco/3074 "2021-04-26T06:54:47Z")

</div>

Draco: GitHub - google/draco: Draco is a library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics. Have you had a good/bad exp…

---

## [DracoLoader resource not found](https://discourse.threejs.org/t/dracoloader-resource-not-found/25360)

<div class="topic-metadata">

**Author:** [@eventhorizon02](https://discourse.threejs.org/u/eventhorizon02)\
**Replies:** 0\
**Last updated:** [April 14, 2021, 8:09pm UTC](https://discourse.threejs.org/t/dracoloader-resource-not-found/25360 "2021-04-14T20:09:10Z")

</div>

Hi, I’m having problem it the live production server. In my local server everything works. In the live server, the browser complains that resource model/poly\_ann.glb faild to load. I’m guessing it’s some kind of path …

---

## [Can I apply DRACO Compression with GLTFExporter when exporting it?](https://discourse.threejs.org/t/can-i-apply-draco-compression-with-gltfexporter-when-exporting-it/7439)

<div class="topic-metadata">

**Author:** [@Shantanu\_Srivastava](https://discourse.threejs.org/u/Shantanu_Srivastava)\
**Replies:** 5\
**Last updated:** [April 7, 2021, 2:05am UTC](https://discourse.threejs.org/t/can-i-apply-draco-compression-with-gltfexporter-when-exporting-it/7439 "2021-04-07T02:05:19Z")

</div>

There are two scenarios: Importing Exporting When exported using GLTFExporter, I want to use DRACO Compression on the fly so that once it is saved, the compressed version of it gets saved. Right now, what I am doing i…

---

## [Draco compression with Cesium and glTF Pipeline in WebGL](https://discourse.threejs.org/t/draco-compression-with-cesium-and-gltf-pipeline-in-webgl/15317)

<div class="topic-metadata">

**Author:** [@Cold5tar](https://discourse.threejs.org/u/Cold5tar)\
**Replies:** 2\
**Last updated:** [April 7, 2021, 2:05am UTC](https://discourse.threejs.org/t/draco-compression-with-cesium-and-gltf-pipeline-in-webgl/15317 "2021-04-07T02:05:42Z")

</div>

Hello everyone! I was researching possibilities of implementing Draco compression into three.js GLTF files viewer and thought if it could be possible to do with Cesium glTF Pipeline implementation? I’ve only seen one co…

---

## [Gltf-pipeline draco compression not working!](https://discourse.threejs.org/t/gltf-pipeline-draco-compression-not-working/22732)

<div class="topic-metadata">

**Author:** [@nadia\_mariduena](https://discourse.threejs.org/u/nadia_mariduena)\
**Replies:** 3\
**Last updated:** [February 1, 2021, 12:34am UTC](https://discourse.threejs.org/t/gltf-pipeline-draco-compression-not-working/22732 "2021-02-01T00:34:01Z")

</div>

The Draco set up is working now, but I noticed that I can no longer compress the compressed files from Blender, it seems like something happened with the pipeline while trying to make the compressed draco “show in the b…

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