# ParticleSystem with dragGradient blows up when serialized

**URL:** <https://forum.babylonjs.com/t/particlesystem-with-draggradient-blows-up-when-serialized/3922>\
**Category:** Bugs\
**Created:** [June 16, 2019, 5:45pm UTC](https://forum.babylonjs.com/t/particlesystem-with-draggradient-blows-up-when-serialized/3922 "2019-06-16T17:45:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thrice](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/thrice/32/105_2.png) [@thrice](https://forum.babylonjs.com/u/thrice)\
**Post date:** [June 16, 2019, 5:45pm UTC](https://forum.babylonjs.com/t/particlesystem-with-draggradient-blows-up-when-serialized/3922/1 "2019-06-16T17:45:12Z")

</div>

[https://www.babylonjs-playground.com/#R1JWLA#8](https://www.babylonjs-playground.com/#R1JWLA#8)

Open console and type particleSystem.serialize() to see bug

---

<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:** [June 17, 2019, 4:15pm UTC](https://forum.babylonjs.com/t/particlesystem-with-draggradient-blows-up-when-serialized/3922/2 "2019-06-17T16:15:39Z")

</div>

haha this is your day 😃

I will fix that as well with next commit

---

<div class="post-metadata">

**Author:** ![thrice](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/thrice/32/105_2.png) [@thrice](https://forum.babylonjs.com/u/thrice)\
**Post date:** [June 17, 2019, 9:56pm UTC](https://forum.babylonjs.com/t/particlesystem-with-draggradient-blows-up-when-serialized/3922/3 "2019-06-17T21:56:31Z")

</div>

haha ya it really was 🙂
