# A Branch to detect Build type ? (Development/Shipping)

**URL:** <https://forums.unrealengine.com/t/a-branch-to-detect-build-type-development-shipping/2735024>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [July 11, 2026, 1:41pm UTC](https://forums.unrealengine.com/t/a-branch-to-detect-build-type-development-shipping/2735024 "2026-07-11T13:41:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cl\_fabula](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cl\_fabula](https://forums.unrealengine.com/u/cl_fabula)\
**Post date:** [July 11, 2026, 1:41pm UTC](https://forums.unrealengine.com/t/a-branch-to-detect-build-type-development-shipping/2735024/1 "2026-07-11T13:41:18Z")

</div>

Hello !

So im working on a complex level system with many sublevels that are loaded one by one starting from sublevel 0 up to sublevel 99.

the problem is that with my current system i have to play them all starting from the sublevel 0  
and you can imagine how annoying this is when i need to test level 54 and im forced to play them all one by one from the first one.

So i made a little system that allow me to bypass the normal level progression with an instance editable integer that i can just set to 55, that would force load level 55 first.

the thing is ; if i somehow forget to set it back to 0, my build would be broken.

**The actual question :**

Is it possible to have a branch that would check for the build type ?

imagine ;

- if i play in editor or i build my game in developpment, the branch would return a FALSE
- if i build the game in Shipping, the branch would return a TRUE

Is that possible ?

i know i can right click on nodes and set them to “developpment only” or “do not compile”  
but that’s not really working if i need 2 different execution depending on the build type.

Thanks in advance !

---

<div class="post-metadata">

**Author:** ![zeaf](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zeaf/32/1108035_2.png) [@zeaf](https://forums.unrealengine.com/u/zeaf)\
**Post date:** [July 11, 2026, 1:54pm UTC](https://forums.unrealengine.com/t/a-branch-to-detect-build-type-development-shipping/2735024/2 "2026-07-11T13:54:15Z")

</div>

```cpp
/** Returns whether this is a build that is packaged for distribution */
UFUNCTION(BlueprintPure, Category="Development", meta=(BlueprintThreadSafe))
static ENGINE_API bool IsPackagedForDistribution();

```

You can just use this, also exposed to blueprint  
Returns true for shipping, false otherwise

---

<div class="post-metadata">

**Author:** ![cl\_fabula](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cl\_fabula](https://forums.unrealengine.com/u/cl_fabula)\
**Post date:** [July 11, 2026, 1:57pm UTC](https://forums.unrealengine.com/t/a-branch-to-detect-build-type-development-shipping/2735024/3 "2026-07-11T13:57:03Z")

</div>

Awsome, thanks a lot!  
That’s exactly what i needed.  
here is how it look like in blueprint :

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/8/dc825107fc8600a751b2fc1f478e98aa41b19f5a.png)
