# MergeMeshes changes indices order

**URL:** <https://forum.babylonjs.com/t/mergemeshes-changes-indices-order/60776>\
**Category:** Bugs\
**Created:** [October 4, 2025, 1:17pm UTC](https://forum.babylonjs.com/t/mergemeshes-changes-indices-order/60776 "2025-10-04T13:17:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [October 4, 2025, 1:17pm UTC](https://forum.babylonjs.com/t/mergemeshes-changes-indices-order/60776/1 "2025-10-04T13:17:15Z")

</div>

Hi!

EDIT: just got information, the the source mesh was export from a scene using right handed system. This explains all… 😉 If you guys still have anything to add, it would be highly appreciated!

~~The `island-collider` is the source mesh. It’s cloned and then merged to the resulting mesh.~~

~~As you can see on the screenshot, the indices order is changed in the `island-collider_merged` mesh comparing to the original `island-collider`:~~

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/7/5/757ce5c1f42190fe6ffaca6f09669fd3698007c0.jpeg)

~~I also created a `custom` mesh that I merged manually (using navplugin V2 functions: getting the indices and positions, then merging), and it preserves the indices order.~~

~~However, I noticed that the `sideOrientation` doesn’t match.~~

~~Can someone shed some light on this?~~

~~Thank you!~~

> **[Babylon.js Playground](https://playground.babylonjs.com/#TDMK1S%232)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL and WebGPU 3D scenes

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [October 6, 2025, 5:16pm UTC](https://forum.babylonjs.com/t/mergemeshes-changes-indices-order/60776/2 "2025-10-06T17:16:29Z")

</div>

@Deltakosh Shit happens all the time 😅

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [October 6, 2025, 5:29pm UTC](https://forum.babylonjs.com/t/mergemeshes-changes-indices-order/60776/3 "2025-10-06T17:29:35Z")

</div>

Oh I know lol

---

<div class="post-metadata">

**Author:** ![Panuchka](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/panuchka/32/12054_2.png) [@Panuchka](https://forum.babylonjs.com/u/Panuchka)\
**Post date:** [October 6, 2025, 7:23pm UTC](https://forum.babylonjs.com/t/mergemeshes-changes-indices-order/60776/4 "2025-10-06T19:23:00Z")

</div>

I take the blame since I created the island mesh 🤠

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [October 6, 2025, 8:41pm UTC](https://forum.babylonjs.com/t/mergemeshes-changes-indices-order/60776/5 "2025-10-06T20:41:06Z")

</div>

@Panuchka You should be proud for being the only one actively helping me to test the new navplugin 😉 As I said:

> [@roland](#):
>
> Shit happens all the time 😅
