# C++ library node crash shipped package

**URL:** <https://forums.unrealengine.com/t/c-library-node-crash-shipped-package/2726020>\
**Category:** C++\
**Tags:** library, unreal-engine\
**Created:** [June 3, 2026, 9:26am UTC](https://forums.unrealengine.com/t/c-library-node-crash-shipped-package/2726020 "2026-06-03T09:26:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lixniqia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lixniqia](https://forums.unrealengine.com/u/Lixniqia)\
**Post date:** [June 3, 2026, 9:26am UTC](https://forums.unrealengine.com/t/c-library-node-crash-shipped-package/2726020/1 "2026-06-03T09:26:51Z")

</div>

I packed my project as shipping mode with some custom c++ node.

When the game ran and executed this c++ node and I got fatal error pop up!

I’m sure there were issue like this and probably has an answer?

---

<div class="post-metadata">

**Author:** ![Lixniqia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lixniqia](https://forums.unrealengine.com/u/Lixniqia)\
**Post date:** [June 4, 2026, 12:42pm UTC](https://forums.unrealengine.com/t/c-library-node-crash-shipped-package/2726020/2 "2026-06-04T12:42:39Z")

</div>

Updated.

I found the way to core problem (probably).

I used #include “ShaderCompiler.h” to get number of compilation.

When I put  
int32 NUM\_SHADER = GShaderCompilingManager-\>GetNumRemainingJobs();

My package was crashed during this execute.

But when I tested with pure value int32 NUM\_SHADER = 999;  
There is no crash on my package.

Anyone can help me?

---

<div class="post-metadata">

**Author:** ![Lixniqia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lixniqia](https://forums.unrealengine.com/u/Lixniqia)\
**Post date:** [June 4, 2026, 3:29pm UTC](https://forums.unrealengine.com/t/c-library-node-crash-shipped-package/2726020/3 "2026-06-04T15:29:40Z")

</div>

It turns out you can’t use GShaderCompilingManager on packaged project.

This function for editor only.

And that’s why it makes packaged game crash.
