# Gaussian splat multi-part mesh shows error when loading multiple parts individually

**URL:** <https://forum.babylonjs.com/t/gaussian-splat-multi-part-mesh-shows-error-when-loading-multiple-parts-individually/63506>\
**Category:** Bugs\
**Tags:** gaussian-splatting\
**Created:** [May 19, 2026, 8:46pm UTC](https://forum.babylonjs.com/t/gaussian-splat-multi-part-mesh-shows-error-when-loading-multiple-parts-individually/63506 "2026-05-19T20:46:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kvbh](https://avatars.discourse-cdn.com/v4/letter/k/54ee81/32.png) [@kvbh](https://forum.babylonjs.com/u/kvbh)\
**Post date:** [May 19, 2026, 8:46pm UTC](https://forum.babylonjs.com/t/gaussian-splat-multi-part-mesh-shows-error-when-loading-multiple-parts-individually/63506/1 "2026-05-19T20:46:01Z")

</div>

This can be seen in the example from the documentation [Gaussian Splatting | Babylon.js Documentation](https://doc.babylonjs.com/features/featuresDeepDive/mesh/gaussianSplatting) - playground [GS Mesh parts | Babylon.js Playground](https://playground.babylonjs.com/#PUWLG4#0). Open the console to see:

```auto
gaussianSplattingMeshBase.pure.ts:983 Uncaught DataCloneError: Failed to execute 'postMessage' on 'Worker': ArrayBuffer at index 0 is already detached.

```

This issue is avoided if `GaussianSplattingCompoundMesh` and `addParts` is used rather than calling `addPart` multiple times, but this limits the potential use cases. Playground: [GS Mesh parts (GaussianSplattingCompoundMesh) | Babylon.js Playground](https://playground.babylonjs.com/#PUWLG4#8).

Despite the error, the models still seem to display as expected, but the error still seems to point to an issue with how data is being passed to the worker.

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [May 20, 2026, 7:38am UTC](https://forum.babylonjs.com/t/gaussian-splat-multi-part-mesh-shows-error-when-loading-multiple-parts-individually/63506/2 "2026-05-20T07:38:51Z")

</div>

I’ll take a look asap

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [May 25, 2026, 10:37am UTC](https://forum.babylonjs.com/t/gaussian-splat-multi-part-mesh-shows-error-when-loading-multiple-parts-individually/63506/3 "2026-05-25T10:37:49Z")

</div>

PR [GS fix small issues by CedricGuillemet · Pull Request #18499 · BabylonJS/Babylon.js · GitHub](https://github.com/BabylonJS/Babylon.js/pull/18499)
