# Packaged game crashed on macOS when a niagara system is used

**URL:** <https://forums.unrealengine.com/t/packaged-game-crashed-on-macos-when-a-niagara-system-is-used/447036>\
**Category:** FX\
**Tags:** Macos, unreal-engine, crash, bug-report, question\
**Created:** [April 11, 2019, 12:19pm UTC](https://forums.unrealengine.com/t/packaged-game-crashed-on-macos-when-a-niagara-system-is-used/447036 "2019-04-11T12:19:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NorlinGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/norlingames/32/495614_2.png) [@NorlinGames](https://forums.unrealengine.com/u/NorlinGames)\
**Post date:** [April 11, 2019, 12:19pm UTC](https://forums.unrealengine.com/t/packaged-game-crashed-on-macos-when-a-niagara-system-is-used/447036/1 "2019-04-11T12:19:31Z")

</div>

In the packaged game, it’s crashed when I’m spawning a niagara system. Not instantly, it starts to work but then crash, every time. If don’t use the niagara system then it’s not crashing.

Any ideas where to look/what to tweak?

Error message:

```
Assertion failed: LayoutConstantBufferSize == Layout->ConstantBufferSize

```

Full crash log: [https://pastebin.com/ZHiHe41W](https://pastebin.com/ZHiHe41W)

Specs:  
UE 4.21.2 (source build, no changes to the rendering part)  
Metal 2.0 or 2.1 (tried both, the same crash)  
Xcode 9.4.1 or 10.2 (both are the same)

macbook pro 13" integrated graphics (iris 6100 1536 mb)

---

<div class="post-metadata">

**Author:** ![Jeff\_A](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeff\_A](https://forums.unrealengine.com/u/Jeff_A)\
**Post date:** [April 11, 2019, 7:17pm UTC](https://forums.unrealengine.com/t/packaged-game-crashed-on-macos-when-a-niagara-system-is-used/447036/2 "2019-04-11T19:17:53Z")

</div>

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

[https://epicsupport.force.com/unrealengine/s/](https://epicsupport.force.com/unrealengine/s/)

Thanks

---

<div class="post-metadata">

**Author:** ![NorlinGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/norlingames/32/495614_2.png) [@NorlinGames](https://forums.unrealengine.com/u/NorlinGames)\
**Post date:** [April 12, 2019, 8:46am UTC](https://forums.unrealengine.com/t/packaged-game-crashed-on-macos-when-a-niagara-system-is-used/447036/3 "2019-04-12T08:46:48Z")

</div>

Thank you, I know about this one, just currently I’m not sure it’s a real bug – that’s why I’ve posted it here, to check with a community in case if anyone faced the same issue.
