# Fatal error using Niagara and C++ references to BP UE-74988

**URL:** <https://forums.unrealengine.com/t/fatal-error-using-niagara-and-c-references-to-bp-ue-74988/451453>\
**Category:** FX\
**Tags:** unreal-engine, crash, Scripting, question\
**Created:** [June 29, 2019, 9:55am UTC](https://forums.unrealengine.com/t/fatal-error-using-niagara-and-c-references-to-bp-ue-74988/451453 "2019-06-29T09:55:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DenKuzn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DenKuzn](https://forums.unrealengine.com/u/DenKuzn)\
**Post date:** [June 29, 2019, 9:55am UTC](https://forums.unrealengine.com/t/fatal-error-using-niagara-and-c-references-to-bp-ue-74988/451453/1 "2019-06-29T09:55:47Z")

</div>

Just want to add comment for issue UE-74988.  
Editor crashes, when I create Niagara Component in any BP-Actor, and create reference on it in C++ class from AClass or UClass.  
If I setup settings for load in “Niagara.uplugin” to PreDefault - crash is gone.  
And in PIE Editor works fine.  
But if I build the game - build will compile, but game won’t work and show message that game cannot find some file without name of file.

I hope that information will be useful.

ps. Sorry for my bad English.
