# Assertion failed: size \<= Capacity()

**URL:** <https://forum.defold.com/t/assertion-failed-size-capacity/70141>\
**Category:** Bugs\
**Created:** [January 17, 2022, 12:23pm UTC](https://forum.defold.com/t/assertion-failed-size-capacity/70141 "2022-01-17T12:23:55Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![AGulev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/agulev/32/4541_2.png) [@AGulev](https://forum.defold.com/u/AGulev)\
**Post date:** [January 17, 2022, 2:24pm UTC](https://forum.defold.com/t/assertion-failed-size-capacity/70141/4 "2022-01-17T14:24:17Z")

</div>

> [@Alex\_8BitSkull](#):
>
> I’m getting the error message above in debug/release bundles but **not** in editor builds. Any ideas?

I think we know what the problem is.  
As a temp workaround until the fix, you may create a factory with GO that has only one component: a particle without emitters. It should help for now.

Thank you for this report and especially for a repocase!

UPD: [Crash in ParticleFX `Assertion failed: size \<= Capacity()` · Issue #6333 · defold/defold · GitHub](https://github.com/defold/defold/issues/6333)

---

_[View the full topic](https://forum.defold.com/t/assertion-failed-size-capacity/70141)._
