# Unreal enigne 4.3 compiling warning (behavior tree)

**URL:** <https://forums.unrealengine.com/t/unreal-enigne-4-3-compiling-warning-behavior-tree/289787>\
**Category:** AI\
**Tags:** Behavior-Tree, compiling, UE4-3, warning, unreal-engine, question\
**Created:** [July 31, 2014, 5:41pm UTC](https://forums.unrealengine.com/t/unreal-enigne-4-3-compiling-warning-behavior-tree/289787 "2014-07-31T17:41:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![envenger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@envenger](https://forums.unrealengine.com/u/envenger)\
**Post date:** [July 31, 2014, 5:41pm UTC](https://forums.unrealengine.com/t/unreal-enigne-4-3-compiling-warning-behavior-tree/289787/1 "2014-07-31T17:41:18Z")

</div>

1\>EXEC : warning : File ‘D:\Unreal Engine - 4\Engine\Source\Runtime\AIModule\Private\BehaviorTree\BehaviorTreeManager.cpp’ doesn’t use same ‘shared’ precompiled header as other files in this module: ‘CoreUObject.h’ vs ‘Engine.h’. This can greatly impact compile times. Make sure that your module’s private PCH header includes the ‘largest’ shared PCH header that your module uses

I am getting this error when I compile. Should I change the header in the behavior tree?

---

<div class="post-metadata">

**Author:** ![robert.manuszewski](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@robert.manuszewski](https://forums.unrealengine.com/u/robert.manuszewski)\
**Post date:** [August 4, 2014, 4:25pm UTC](https://forums.unrealengine.com/t/unreal-enigne-4-3-compiling-warning-behavior-tree/289787/2 "2014-08-04T16:25:12Z")

</div>

Hi evenger,

This warning means that something in AIModule is including Engine.h but its pch (AIModulePrivate.h) does not. We will fix this on our end. To fix this you’d either need to make AiModulePrivate.h include Engine.h or remove Engine.h include (note it may not be direct include!) from one of its cpp files.
