# What is PCH and bAdaptiveUnityDisablesPCH?

**URL:** <https://forums.unrealengine.com/t/what-is-pch-and-badaptiveunitydisablespch/118822>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [November 15, 2018, 8:07pm UTC](https://forums.unrealengine.com/t/what-is-pch-and-badaptiveunitydisablespch/118822 "2018-11-15T20:07:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Waves](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/waves/32/1009258_2.png) [@Waves](https://forums.unrealengine.com/u/Waves)\
**Post date:** [November 15, 2018, 8:07pm UTC](https://forums.unrealengine.com/t/what-is-pch-and-badaptiveunitydisablespch/118822/1 "2018-11-15T20:07:10Z")

</div>

During compile this is in the output window:

```auto

2>[Adaptive unity build] Disabling PCH for excluded files. Set bAdaptiveUnityDisablesPCH to false in BuildConfiguration.xml to change this behavior.
2>[Adaptive unity build] Excluded from Rover unity file: <list of some seemly random files from my project>

```

Can someone provide a summary of what PCH is and what is happening here?

---

<div class="post-metadata">

**Author:** ![ExtraLifeMatt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/extralifematt/32/918695_2.png) [@ExtraLifeMatt](https://forums.unrealengine.com/u/ExtraLifeMatt)\
**Post date:** [November 15, 2018, 8:33pm UTC](https://forums.unrealengine.com/t/what-is-pch-and-badaptiveunitydisablespch/118822/2 "2018-11-15T20:33:04Z")

</div>

PCH stands for Pre-Compiled Header.

It’s a file that is compiled once, and then never built again (as long as the files used to create the PCH aren’t modified). If you modify some file that is contained within that PCH, then you can see Unreal disable the PCH for that module/etc(causing all files that touch that PCH to be recompiled manually).

---

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [December 3, 2025, 1:30am UTC](https://forums.unrealengine.com/t/what-is-pch-and-badaptiveunitydisablespch/118822/3 "2025-12-03T01:30:33Z")

</div>

> [@What causes "excluded from unity build"?](https://forums.unrealengine.com/t/what-causes-excluded-from-unity-build/442332):
>
> I’m using wwise and I’ve noticed in the last few months, my compile times suddenly got a lot longer. Every time I compile, I get the following message: 2\>[Adaptive unity build] Disabling PCH for excluded files. Set bAdaptiveUnityDisablesPCH to false in BuildConfiguration.xml to change this behavior. 2\>[Adaptive unity build] Excluded from AkAudio unity file: AkAcousticTexture.cpp, AkAmbientSound.cpp, AkAudioBank.cpp, AkAudioEvent.cpp, AkAudioInputComponent.cpp, AkAudioInputManager.cpp, AkAudioM…
