# Loading multiple gltf models

**URL:** <https://discourse.threejs.org/t/loading-multiple-gltf-models/48632>\
**Category:** Questions\
**Tags:** gltf-loader\
**Created:** [March 3, 2023, 2:11am UTC](https://discourse.threejs.org/t/loading-multiple-gltf-models/48632 "2023-03-03T02:11:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![squirel229](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/squirel229/32/34046_2.png) [@squirel229](https://discourse.threejs.org/u/squirel229)\
**Post date:** [March 3, 2023, 2:11am UTC](https://discourse.threejs.org/t/loading-multiple-gltf-models/48632/1 "2023-03-03T02:11:22Z")

</div>

Hello  
I am working on a little game it’s a hidden object game where we must find an object in a room before going to next room. (They are 5 rooms)

i first create the rooms separatly in blender and export them as gltf

the problem is sometimes threejs fail to load all the models and when i refresh the page it load all the models successfuly

Is it the good way to load multiple gltf ? or should i place all the rooms into a single gltf ?

Sorry for my bad english

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [March 6, 2023, 4:25am UTC](https://discourse.threejs.org/t/loading-multiple-gltf-models/48632/2 "2023-03-06T04:25:48Z")

</div>

Loading multiple glTF files is common enough; putting all rooms into a single glTF is fine too. It sounds like there is some issue in your application’s code, like a race condition that breaks depending on the order in which your models load. If you can share a simplified version of that code to reproduce the issue, we can probably help you to debug it.

There’s no special trick here, you call `.load(...)` for each model you need.
