# \#serializer

**URL:** https://forum.babylonjs.com/tag/serializer/140.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [GaussianSplattingMesh serializer](https://forum.babylonjs.com/t/gaussiansplattingmesh-serializer/62659)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 5\
**Last updated:** [March 9, 2026, 12:50am UTC](https://forum.babylonjs.com/t/gaussiansplattingmesh-serializer/62659 "2026-03-09T00:50:02Z")

</div>

For a long time GaussianSplattingMesh.prototype.serialize is missing so serialized GaussianSplattingMesh would result in a dummy mesh, not the GaussianSplattingMesh itself. Now it’s here: Some notes for reviewers: k…

---

## [What purpose do the serialized keys of a Mesh mean?](https://forum.babylonjs.com/t/what-purpose-do-the-serialized-keys-of-a-mesh-mean/54547)

<div class="topic-metadata">

**Author:** [@Symbitic](https://forum.babylonjs.com/u/Symbitic)\
**Replies:** 3\
**Last updated:** [November 11, 2024, 6:35am UTC](https://forum.babylonjs.com/t/what-purpose-do-the-serialized-keys-of-a-mesh-mean/54547 "2024-11-11T06:35:42Z")

</div>

I’m trying to work on a way for developing unit tests for a library I’m working on that uses Babylon. My first thought is to have every object carry a Mesh member, then use NullEngine and Babylon’s serializer to make a t…

---

## [How to serialize an entire imported GLTF model easily?](https://forum.babylonjs.com/t/how-to-serialize-an-entire-imported-gltf-model-easily/50107)

<div class="topic-metadata">

**Author:** [@gavinadler](https://forum.babylonjs.com/u/gavinadler)\
**Replies:** 4\
**Last updated:** [April 29, 2024, 7:56am UTC](https://forum.babylonjs.com/t/how-to-serialize-an-entire-imported-gltf-model-easily/50107 "2024-04-29T07:56:06Z")

</div>

Hello, I want to serialize all meshes of an imported GLTF model and use them for another scene, the GLTF model has a lot of instanced meshes as well. Is there an easy way to do it without breaking the model?

---

## [GLTF2Export GLTFAsync export failing to load .bin](https://forum.babylonjs.com/t/gltf2export-gltfasync-export-failing-to-load-bin/48967)

<div class="topic-metadata">

**Author:** [@dsaffo](https://forum.babylonjs.com/u/dsaffo)\
**Replies:** 2\
**Last updated:** [March 22, 2024, 3:58pm UTC](https://forum.babylonjs.com/t/gltf2export-gltfasync-export-failing-to-load-bin/48967 "2024-03-22T15:58:00Z")

</div>

Hello, it looks like there might be a bug in GLTF2Export when exporting gltf (glb seems to work okay). Trying to load the gltf will give a “failed to load MESH.bin” error even with the sandbox model viewer. Here is the …

---

## [colorShader kept and not reused after serialization of LinesMesh](https://forum.babylonjs.com/t/colorshader-kept-and-not-reused-after-serialization-of-linesmesh/36871)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 1\
**Last updated:** [December 26, 2022, 10:36am UTC](https://forum.babylonjs.com/t/colorshader-kept-and-not-reused-after-serialization-of-linesmesh/36871 "2022-12-26T10:36:41Z")

</div>

OS: Windows 10 x64 Browser: ungoogled-chromium 108.0.5359.95 Babylon.js: 5.39.0 Playground: https://playground.babylonjs.com/#E9EBSL#3 Open the inspector and expend the materials. Expected: The colorShader material…

---

## [colorShader and colorShaderOccQuery kept after serialize](https://forum.babylonjs.com/t/colorshader-and-colorshaderoccquery-kept-after-serialize/36870)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 1\
**Last updated:** [December 26, 2022, 10:30am UTC](https://forum.babylonjs.com/t/colorshader-and-colorshaderoccquery-kept-after-serialize/36870 "2022-12-26T10:30:31Z")

</div>

OS: Windows 10 x64 Browser: ungoogled-chromium 108.0.5359.95 Babylon.js: 5.39.0 Playground: https://playground.babylonjs.com/#E9EBSL#1 Open the inspector and expend the materials. Expected: The colorShader and colo…

---

## [Should I use draco to compress the glb file which is exported by the babylonjs.serializers.min.js?](https://forum.babylonjs.com/t/should-i-use-draco-to-compress-the-glb-file-which-is-exported-by-the-babylonjs-serializers-min-js/34766)

<div class="topic-metadata">

**Author:** [@ljzc002](https://forum.babylonjs.com/u/ljzc002)\
**Replies:** 4\
**Last updated:** [October 14, 2022, 1:57am UTC](https://forum.babylonjs.com/t/should-i-use-draco-to-compress-the-glb-file-which-is-exported-by-the-babylonjs-serializers-min-js/34766 "2022-10-14T01:57:12Z")

</div>

Hello friends,I meet some problems when handle glb models. I have export some glb files from obj models by the babylonjs.serializers.min.js like those: Then,I use this script to compress them: gltf-pipeline -i Tile…

---

## [TypeError using mesh.serialize()](https://forum.babylonjs.com/t/typeerror-using-mesh-serialize/34708)

<div class="topic-metadata">

**Author:** [@Benjythebee](https://forum.babylonjs.com/u/Benjythebee)\
**Replies:** 3\
**Last updated:** [October 12, 2022, 5:38pm UTC](https://forum.babylonjs.com/t/typeerror-using-mesh-serialize/34708 "2022-10-12T17:38:44Z")

</div>

Heya, An issue popped up while using the mesh.serialize() function: I’m using the mesh.serialize() → Mesh.Parse() method to copy a mesh from one scene to another. I’ve reproduced the error at: The file is big so i…

---

## [Drastically shrink GLTFExported models with jpeg texture option?](https://forum.babylonjs.com/t/drastically-shrink-gltfexported-models-with-jpeg-texture-option/33957)

<div class="topic-metadata">

**Author:** [@unclek](https://forum.babylonjs.com/u/unclek)\
**Replies:** 7\
**Last updated:** [October 4, 2022, 8:20pm UTC](https://forum.babylonjs.com/t/drastically-shrink-gltfexported-models-with-jpeg-texture-option/33957 "2022-10-04T20:20:34Z")

</div>

We’re using the GLTFExporter to export models to GLB and one of the things we noticed is that even if the textures are loaded as jpegs, the exporter is hardcoded to convert them to PNGs, which can really bloat the output…

---

## [GLB export artifacts on faces that are close to others?](https://forum.babylonjs.com/t/glb-export-artifacts-on-faces-that-are-close-to-others/34079)

<div class="topic-metadata">

**Author:** [@unclek](https://forum.babylonjs.com/u/unclek)\
**Replies:** 6\
**Last updated:** [September 21, 2022, 4:48pm UTC](https://forum.babylonjs.com/t/glb-export-artifacts-on-faces-that-are-close-to-others/34079 "2022-09-21T16:48:21Z")

</div>

We’re seeing strange artifacts when models are exported to GLB and displayed in the Google’s \<modelviewer\> component that don’t show up in USDZ converted models (GLB → USDZ). It seems like these are evident when placing …

---

## [KHR\_draco\_mesh\_compression usage](https://forum.babylonjs.com/t/khr-draco-mesh-compression-usage/30313)

<div class="topic-metadata">

**Author:** [@Guillaume\_Pelletier](https://forum.babylonjs.com/u/Guillaume_Pelletier)\
**Replies:** 2\
**Last updated:** [May 12, 2022, 5:02pm UTC](https://forum.babylonjs.com/t/khr-draco-mesh-compression-usage/30313 "2022-05-12T17:02:25Z")

</div>

Hello, Here a question about GLTF Serializer options we have. Implementing the Draco Compression for an asset is given the choice to hold the compressed buffer the compressed buffer AND the uncompressed buffer in th…
