# Having difficulty implementing the Fbx loader example code

**URL:** https://discourse.threejs.org/t/having-difficulty-implementing-the-fbx-loader-example-code/26600
**Category:** Questions
**Tags:** loaders, fbx
**Created:** [May 25, 2021, 11:52am UTC](https://discourse.threejs.org/t/having-difficulty-implementing-the-fbx-loader-example-code/26600 "2021-05-25T11:52:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ecalogero](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/ecalogero/32/12526_2.png) [@ecalogero](https://discourse.threejs.org/u/ecalogero)
#### Post date: [May 25, 2021, 11:52am UTC](https://discourse.threejs.org/t/having-difficulty-implementing-the-fbx-loader-example-code/26600/1 "2021-05-25T11:52:31Z")

</div>

Hi there,

I’m having difficulty implementing my own version of the FBXLoader included in the examples folder. I’ve pretty much copy-pasted the code provided here: [three.js/webgl\_loader\_fbx.html at d4aa9e00ea29808534a3e082f602c544e5f2419c · mrdoob/three.js · GitHub](https://github.com/mrdoob/three.js/blob/d4aa9e00ea29808534a3e082f602c544e5f2419c/examples/webgl_loader_fbx.html)

minus the stats code and I get the following error when I try to load the (provided in the example) model:  
`THREE.Object3D.add: object not an instance of THREE.Object3D.`

Here is the code:

> **[FBXLoader for THREE](https://replit.com/@ecalogero/FBXLoader-for-THREE#index.html)**
>
> A HTML, CSS, JS repl by ecalogero

I would appreciate any help.

Thanks in advance,

Kind regards,

Erica.

---

<div class="post-metadata">

### Author: ![seanwasere](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/seanwasere/32/20864_2.png) [@seanwasere](https://discourse.threejs.org/u/seanwasere)
#### Post date: [May 25, 2021, 2:13pm UTC](https://discourse.threejs.org/t/having-difficulty-implementing-the-fbx-loader-example-code/26600/2 "2021-05-25T14:13:46Z")

</div>

for starters, check how you are loading the libraries.  
If you are using `jsm` modules then use the `three.module.js`.  
Also make sure you are loading the same versions.  
In your example you are mixing r77 with r128

---

<div class="post-metadata">

### Author: ![ecalogero](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/ecalogero/32/12526_2.png) [@ecalogero](https://discourse.threejs.org/u/ecalogero)
#### Post date: [May 25, 2021, 2:41pm UTC](https://discourse.threejs.org/t/having-difficulty-implementing-the-fbx-loader-example-code/26600/3 "2021-05-25T14:41:35Z")

</div>

Thank you, using the same versisons of three fixed it!
