# AssetManager Not loading

**URL:** <https://forum.babylonjs.com/t/assetmanager-not-loading/612>\
**Category:** Questions\
**Created:** [January 7, 2019, 4:35pm UTC](https://forum.babylonjs.com/t/assetmanager-not-loading/612 "2019-01-07T16:35:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rah](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/rah/32/201_2.png) [@Rah](https://forum.babylonjs.com/u/Rah)\
**Post date:** [January 7, 2019, 4:35pm UTC](https://forum.babylonjs.com/t/assetmanager-not-loading/612/1 "2019-01-07T16:35:55Z")

</div>

Hey everyone,

I have an assetManager i already use for loading image and texture assets. I am now trying to add a single mesh, so i create a meshTask. I added a small onSuccess function to just console log success, and set a global var as the task.loadedMeshes[0]. I get the success however when i try to use that mesh later on i get error undefined. So i console logged that whole array (task.loadedMeshes) and it was empty, which is very strange. I was however able to get the mesh into my scene using BABYLON.SceneLoader.Append with the same file.  
So what i dont understand is why might my assetManager not work yet SceneLoader does work?  
How can i get assetManager working?

The skeletons and particle systems array are also empty (as they should be)

---

<div class="post-metadata">

**Author:** ![Rah](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/rah/32/201_2.png) [@Rah](https://forum.babylonjs.com/u/Rah)\
**Post date:** [January 7, 2019, 4:44pm UTC](https://forum.babylonjs.com/t/assetmanager-not-loading/612/2 "2019-01-07T16:44:03Z")

</div>

Alright so it seems that what i was doing wrong is in the constructor i put a task name and mesh name, just made them up as i thought the constructor would name the mesh that name. It does not seem like that is the case, i made the name “” and now i have the mesh!

---

<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:** [January 7, 2019, 7:52pm UTC](https://forum.babylonjs.com/t/assetmanager-not-loading/612/3 "2019-01-07T19:52:00Z")

</div>

Thanks for getting back to us
