# \#draco-loader

**URL:** https://discourse.threejs.org/tag/draco-loader/1066.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,…

---

## [Interactive Room Search Assistent HoRST (VueJS, PWA)](https://discourse.threejs.org/t/interactive-room-search-assistent-horst-vuejs-pwa/64769)

<div class="topic-metadata">

**Author:** [@BenedictLang](https://discourse.threejs.org/u/BenedictLang)\
**Replies:** 1\
**Last updated:** [May 4, 2025, 2:35pm UTC](https://discourse.threejs.org/t/interactive-room-search-assistent-horst-vuejs-pwa/64769 "2025-05-04T14:35:35Z")

</div>

What is this Project about? HoRST is an interactive room-finding system that helps students and visitors locate offices, lecture halls or printers on the HdM university campus in Stuttgart, Germany. Where does it come …

---

## [Model don't loading](https://discourse.threejs.org/t/model-dont-loading/80669)

<div class="topic-metadata">

**Author:** [@Ivan\_Zotov](https://discourse.threejs.org/u/Ivan_Zotov)\
**Replies:** 2\
**Last updated:** [April 3, 2025, 4:38pm UTC](https://discourse.threejs.org/t/model-dont-loading/80669 "2025-04-03T16:38:44Z")

</div>

Hello. My model don’t loading. Only after double click (resize window) she appear. Why? Code: import \* as THREE from 'three'; import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls'; import { GL…

---

## [Draco decoder visible name in WORKER](https://discourse.threejs.org/t/draco-decoder-visible-name-in-worker/73566)

<div class="topic-metadata">

**Author:** [@didi\_softwares](https://discourse.threejs.org/u/didi_softwares)\
**Replies:** 0\
**Last updated:** [November 1, 2024, 10:54pm UTC](https://discourse.threejs.org/t/draco-decoder-visible-name-in-worker/73566 "2024-11-01T22:54:49Z")

</div>

Please change DracoLoader.js so that the WORKER name is visible in the list. currently it generates a random name in the list. Current: - three.js examples Changed: - https://didisoftwares.ddns.net/18/index.html …

---

## [GLTFLoader + DRACOLoader + Svelte 5: Path error](https://discourse.threejs.org/t/gltfloader-dracoloader-svelte-5-path-error/73125)

<div class="topic-metadata">

**Author:** [@Doi](https://discourse.threejs.org/u/Doi)\
**Replies:** 8\
**Last updated:** [October 24, 2024, 9:37am UTC](https://discourse.threejs.org/t/gltfloader-dracoloader-svelte-5-path-error/73125 "2024-10-24T09:37:36Z")

</div>

Hello everyone, I have a strange behavior that I can’t explain. I have built a small Svelte 5 app. Within my onMount method I create a small scene and try to load a 3D model (glb) using GLTF and DRACOLoader. In my local…

---

## [Failed to load model in embedded microApp](https://discourse.threejs.org/t/failed-to-load-model-in-embedded-microapp/73041)

<div class="topic-metadata">

**Author:** [@DongZeMan](https://discourse.threejs.org/u/DongZeMan)\
**Replies:** 0\
**Last updated:** [October 21, 2024, 9:56am UTC](https://discourse.threejs.org/t/failed-to-load-model-in-embedded-microapp/73041 "2024-10-21T09:56:59Z")

</div>

When I embedded threejs’ project in microApp, the gltfLoader parsing model failed

---

## [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…

---

## [Having problems using Draco loader to load my GLB file with Draco compression](https://discourse.threejs.org/t/having-problems-using-draco-loader-to-load-my-glb-file-with-draco-compression/63942)

<div class="topic-metadata">

**Author:** [@MichaelLesko](https://discourse.threejs.org/u/MichaelLesko)\
**Replies:** 1\
**Last updated:** [April 11, 2024, 4:47am UTC](https://discourse.threejs.org/t/having-problems-using-draco-loader-to-load-my-glb-file-with-draco-compression/63942 "2024-04-11T04:47:15Z")

</div>

I have a GLB files that I smashed down from 1.5G to 35mb using Draco compression and I’m trying to get it to load faster. I thought using the Draco loader might help but I don’t know how to load it. I’m new to Three.js…

---

## [Google extensions, whitelist restrictions](https://discourse.threejs.org/t/google-extensions-whitelist-restrictions/61316)

<div class="topic-metadata">

**Author:** [@asliCo](https://discourse.threejs.org/u/asliCo)\
**Replies:** 5\
**Last updated:** [February 10, 2024, 10:33pm UTC](https://discourse.threejs.org/t/google-extensions-whitelist-restrictions/61316 "2024-02-10T22:33:52Z")

</div>

Hi, I’m trying to load my model within the code below but I’m getting these errors: Denying load of . Resources must be listed in the web\_accessible\_resources manifest key in order to be loaded by pages outside the exte…

---

## [DRACOLoader prints error: SyntaxError: Unexpected token '\<'](https://discourse.threejs.org/t/dracoloader-prints-error-syntaxerror-unexpected-token/54559)

<div class="topic-metadata">

**Author:** [@Alexander\_Rubino](https://discourse.threejs.org/u/Alexander_Rubino)\
**Replies:** 5\
**Last updated:** [August 3, 2023, 10:25am UTC](https://discourse.threejs.org/t/dracoloader-prints-error-syntaxerror-unexpected-token/54559 "2023-08-03T10:25:09Z")

</div>

I am trying to load this .gltf file into Three.js with DRACOLoader. dna.gltf (893.6 KB) But for some reason I get this error: SyntaxError: Unexpected token '\<' You can see my code here: import \* as THREE from "three"…

---

## [DRACOLoader object URL not disposed](https://discourse.threejs.org/t/dracoloader-object-url-not-disposed/46103)

<div class="topic-metadata">

**Author:** [@trusktr](https://discourse.threejs.org/u/trusktr)\
**Replies:** 6\
**Last updated:** [April 26, 2023, 11:59am UTC](https://discourse.threejs.org/t/dracoloader-object-url-not-disposed/46103 "2023-04-26T11:59:15Z")

</div>

This is never disposed:

---

## [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…

---

## [Dracoloader takes more time](https://discourse.threejs.org/t/dracoloader-takes-more-time/45613)

<div class="topic-metadata">

**Author:** [@rashmijl](https://discourse.threejs.org/u/rashmijl)\
**Replies:** 5\
**Last updated:** [December 12, 2022, 7:07am UTC](https://discourse.threejs.org/t/dracoloader-takes-more-time/45613 "2022-12-12T07:07:13Z")

</div>

I have compressed model using gltf-pipeline and compressed model is in .glb format. Using Dracoloader and GLTFloader to load the .glb. Its taking more time to load. Any suggesting for reducing the time taken to load

---

## [Large Lagging And FPS Drop On Scene](https://discourse.threejs.org/t/large-lagging-and-fps-drop-on-scene/45500)

<div class="topic-metadata">

**Author:** [@mlelyakan](https://discourse.threejs.org/u/mlelyakan)\
**Replies:** 1\
**Last updated:** [December 6, 2022, 9:08am UTC](https://discourse.threejs.org/t/large-lagging-and-fps-drop-on-scene/45500 "2022-12-06T09:08:02Z")

</div>

Hello Experts, I’ve been developing an application based on threejs library for a while. I’m faced with an issue about lagging and I couldn’t detect the main reason of lagging. I uploaded an image related with my scene …

---

## [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 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…

---

## [Dracoloader : uncaught (in promise) error](https://discourse.threejs.org/t/dracoloader-uncaught-in-promise-error/30993)

<div class="topic-metadata">

**Author:** [@J\_V](https://discourse.threejs.org/u/J_V)\
**Replies:** 3\
**Last updated:** [October 20, 2021, 7:37pm UTC](https://discourse.threejs.org/t/dracoloader-uncaught-in-promise-error/30993 "2021-10-20T19:37:43Z")

</div>

Hi, I am trying to import a compressed (using blender) .glb file using DRACOLoader but it is throwing some error. import { DRACOLoader } from './threejs/jsm/loaders/DRACOLoader.js' const dracoLoade…

---

## [How to apply textures to a drc](https://discourse.threejs.org/t/how-to-apply-textures-to-a-drc/30954)

<div class="topic-metadata">

**Author:** [@user2](https://discourse.threejs.org/u/user2)\
**Replies:** 1\
**Last updated:** [October 19, 2021, 5:08am UTC](https://discourse.threejs.org/t/how-to-apply-textures-to-a-drc/30954 "2021-10-19T05:08:40Z")

</div>

Hello. I have a drc file and a texture file(jpg). I want to load the drc model and apply the texture to it. Loading the drc model succeeded. But applying the texture failed. my code: const loader = new DRACOLoader()…

---

## [Multiple requests of draco\_wasm\_wrapper.js](https://discourse.threejs.org/t/multiple-requests-of-draco-wasm-wrapper-js/30703)

<div class="topic-metadata">

**Author:** [@bhushan6](https://discourse.threejs.org/u/bhushan6)\
**Replies:** 1\
**Last updated:** [October 11, 2021, 9:30am UTC](https://discourse.threejs.org/t/multiple-requests-of-draco-wasm-wrapper-js/30703 "2021-10-11T09:30:08Z")

</div>

I am not sure but is it right if my app is requesting multiple draco\_wasm\_wrapper.js files, almost 10+, feels like it is seperate request for each model because I am using multiple draco compressed models (not sure how m…

---

## [How to set the order of reading the geometry points](https://discourse.threejs.org/t/how-to-set-the-order-of-reading-the-geometry-points/28551)

<div class="topic-metadata">

**Author:** [@Danit](https://discourse.threejs.org/u/Danit)\
**Replies:** 1\
**Last updated:** [August 1, 2021, 8:15am UTC](https://discourse.threejs.org/t/how-to-set-the-order-of-reading-the-geometry-points/28551 "2021-08-01T08:15:21Z")

</div>

I used “DRACOLoader”, version 1.4.1. to upload a DRC file. In addition, I used “Aspose.3D” Version 20.4.0 nugget in C#. I noticed that the two libraries read the order of the points differently. Is there a way to read …

---

## [DracoLoader not load texture](https://discourse.threejs.org/t/dracoloader-not-load-texture/28100)

<div class="topic-metadata">

**Author:** [@Kerbelus](https://discourse.threejs.org/u/Kerbelus)\
**Replies:** 2\
**Last updated:** [July 16, 2021, 9:46pm UTC](https://discourse.threejs.org/t/dracoloader-not-load-texture/28100 "2021-07-16T21:46:09Z")

</div>

Hello, i have a problem witha GLB file. If a export the file compress with DRACO from Blender with the UV Map, then when i load in threejs the parts with UV do not appear. Without Draco: With Draco here the code…
