# Problems with shipping with GlobalEditorUtilityBase

**URL:** <https://forums.unrealengine.com/t/problems-with-shipping-with-globaleditorutilitybase/361805>\
**Category:** Blueprint\
**Tags:** Blueprint-Utilities, Blutilities, Shipping, unreal-engine, UE4, question, CPP\
**Created:** [June 23, 2016, 2:35pm UTC](https://forums.unrealengine.com/t/problems-with-shipping-with-globaleditorutilitybase/361805 "2016-06-23T14:35:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_34e73193](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_34e73193](https://forums.unrealengine.com/u/anonymous_user_34e73193)\
**Post date:** [June 23, 2016, 2:35pm UTC](https://forums.unrealengine.com/t/problems-with-shipping-with-globaleditorutilitybase/361805/1 "2016-06-23T14:35:55Z")

</div>

Dear AnswerHub

By extending GlobalEditorUtilityBase with a custom Blutility class, I have managed to successfully create some in-editor functions that worked fine and is meant for only in editor use.

The problem begins when I tried shipping…

The extended class relies on GlobalEditorUtilityBase.h which is fine for Editor compilation. When however I switch to shipping or development game then it refuses to compile as it claims it is missing GlobalEditorUtilityBase.generated.h

I have tried various combinations of #if WITH\_EDITOR #else #endif wrapped around the includes however that screws up the ExtendedClass.generated.h as the hierarchy no longer has the correct inheritance.

So my question is this;  
Can I in anyway shape or form exclude the file from being added to the developement/shipping game?  
Alternatively any work around is very welcome at this point as long as it is able to compile.

Worst case scenario means I have to rework the current version to something more… less pleasant.

Thank you for your time!  
Best Regards V

---

<div class="post-metadata">

**Author:** ![TigerFish89](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TigerFish89](https://forums.unrealengine.com/u/TigerFish89)\
**Post date:** [August 1, 2019, 1:36am UTC](https://forums.unrealengine.com/t/problems-with-shipping-with-globaleditorutilitybase/361805/2 "2019-08-01T01:36:10Z")

</div>

Have you solve it?
