# Proper method of loading custom particle systems from Json?

**URL:** <https://forum.babylonjs.com/t/proper-method-of-loading-custom-particle-systems-from-json/8713>\
**Category:** Questions\
**Tags:** editor\
**Created:** [February 21, 2020, 5:33am UTC](https://forum.babylonjs.com/t/proper-method-of-loading-custom-particle-systems-from-json/8713 "2020-02-21T05:33:23Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Stephen](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/stephen/32/7585_2.png) [@Stephen](https://forum.babylonjs.com/u/Stephen)\
**Post date:** [March 20, 2020, 1:16am UTC](https://forum.babylonjs.com/t/proper-method-of-loading-custom-particle-systems-from-json/8713/5 "2020-03-20T01:16:31Z")

</div>

I found a solution!

1. Was just me pressing ‘ **embed texture** ’ without realizing it when exporting from the editor. When selecting **NO** the string is just the file name.
2. Managed to change the path by changing the url for `BABYLON.ParticleSystemSet.BaseAssetsUrl`. The texture now loads offline from the project files.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/6/6b6471f1851cf1b12c97d8c46318e7dd1696c862.png)

This thread also goes into more detail about that.

> [@ParticleHelper.LoadASync loads textures from https://assets.babylonjs.com/particles/textures](https://forum.babylonjs.com/t/particlehelper-loadasync-loads-textures-from-https-assets-babylonjs-com-particles-textures/3162):
>
> I have a custom .json file saved locally that defines my particle system. When I set ParticleHelper.BaseAssetsUrl to my local public folder the json loads fine but then the texture that is defined as “textureName”: “flare.png” in json file is trying to load from https://assets.babylonjs.com/particles/textures even tho BaseAssetsUrl is set to my local directory. To the level I was able to understand the source code, static variable BaseAssetsUrl is only used in ParticleHelper class and when th…

---

_[View the full topic](https://forum.babylonjs.com/t/proper-method-of-loading-custom-particle-systems-from-json/8713)._
