# Why is the gltf exported from 3DMax loaded as an instance?

**URL:** <https://forum.babylonjs.com/t/why-is-the-gltf-exported-from-3dmax-loaded-as-an-instance/50126>\
**Category:** Questions\
**Tags:** tutorial\
**Created:** [April 29, 2024, 10:43am UTC](https://forum.babylonjs.com/t/why-is-the-gltf-exported-from-3dmax-loaded-as-an-instance/50126 "2024-04-29T10:43:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhang](https://avatars.discourse-cdn.com/v4/letter/z/aeb1de/32.png) [@zhang](https://forum.babylonjs.com/u/zhang)\
**Post date:** [April 29, 2024, 10:43am UTC](https://forum.babylonjs.com/t/why-is-the-gltf-exported-from-3dmax-loaded-as-an-instance/50126/1 "2024-04-29T10:43:08Z")

</div>

Is there any option for me to choose whether the loaded gltf is an instance or a regular mesh? Because in many cases, I need to change the mesh material.

I haven’t updated the version for a long time. I used to want version 4.2. This issue occurs during the upgrade now.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/8/d/8dbb6cd24692886afcac97af30a1ef6b03eee1c0.png)

---

<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:** [April 29, 2024, 5:17pm UTC](https://forum.babylonjs.com/t/why-is-the-gltf-exported-from-3dmax-loaded-as-an-instance/50126/2 "2024-04-29T17:17:31Z")

</div>

cc @bghgary

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [April 29, 2024, 5:30pm UTC](https://forum.babylonjs.com/t/why-is-the-gltf-exported-from-3dmax-loaded-as-an-instance/50126/3 "2024-04-29T17:30:15Z")

</div>

Yes, you can set `createInstances` to `false` on the loader.

[https://doc.babylonjs.com/typedoc/classes/BABYLON.GLTFFileLoader#createInstances](https://doc.babylonjs.com/typedoc/classes/BABYLON.GLTFFileLoader#createInstances)

---

<div class="post-metadata">

**Author:** ![zhang](https://avatars.discourse-cdn.com/v4/letter/z/aeb1de/32.png) [@zhang](https://forum.babylonjs.com/u/zhang)\
**Post date:** [April 30, 2024, 1:59am UTC](https://forum.babylonjs.com/t/why-is-the-gltf-exported-from-3dmax-loaded-as-an-instance/50126/4 "2024-04-30T01:59:52Z")

</div>

Can it be selectively configured? I hope to control which gltfs use instance loading and which ones are not used?  
Also, I couldn’t find the createInstances property in GLTFFileLoader. How should I set it? I am using version 6.49.  
And use SceneLoader LoadAssetContainer loading method.  
 ![1714443365631](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/6/1/61b855fee5c2e287bf12f4fa22484307e3ca04fd.png)

---

<div class="post-metadata">

**Author:** ![zhang](https://avatars.discourse-cdn.com/v4/letter/z/aeb1de/32.png) [@zhang](https://forum.babylonjs.com/u/zhang)\
**Post date:** [April 30, 2024, 6:57am UTC](https://forum.babylonjs.com/t/why-is-the-gltf-exported-from-3dmax-loaded-as-an-instance/50126/5 "2024-04-30T06:57:58Z")

</div>

I added this code and it solved the problem. Thank you for your support  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/4/e/4ed958f638d8dda54d3ec689093ae60c37b8db3b.png)
