# Unreal Header Tool runs on every compile?

**URL:** <https://forums.unrealengine.com/t/unreal-header-tool-runs-on-every-compile/455454>\
**Category:** C++\
**Tags:** header, unreal-engine, compile, question, CPP\
**Created:** [September 17, 2019, 1:40am UTC](https://forums.unrealengine.com/t/unreal-header-tool-runs-on-every-compile/455454 "2019-09-17T01:40:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_a691f87e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a691f87e1](https://forums.unrealengine.com/u/anonymous_user_a691f87e1)\
**Post date:** [September 17, 2019, 1:40am UTC](https://forums.unrealengine.com/t/unreal-header-tool-runs-on-every-compile/455454/1 "2019-09-17T01:40:27Z")

</div>

Just starting off by saying I’m relatively new to the engine. I’m noticing that my compile times for small changes to a .cpp file are quite fast, but my actual total time for hot reloads is much slower. Most of that time appears to be the unreal header tool, which to my understanding shouldn’t be running at all if I didn’t actually change a header? That would make sense. My thinking here seems to be supported by this issue, which talks about this exact problem:

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-51472)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

This ticket shows the problem as fixed, but it seems to not be fixed. Wondering if anyone knows why this might be happening and/or if there is a fix for it. Or is this just the new normal compilation behavior?

Thanks.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a691f87e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a691f87e1](https://forums.unrealengine.com/u/anonymous_user_a691f87e1)\
**Post date:** [September 21, 2019, 10:22pm UTC](https://forums.unrealengine.com/t/unreal-header-tool-runs-on-every-compile/455454/2 "2019-09-21T22:22:19Z")

</div>

I solved this, somehow! I was helped here:

Go to

yourengineversionfolder\Engine\Binaries\Win64 and find the file “UnrealHeaderTool.target.”

Literally open it, file-\>save without doing anything… You might have to restart your pc or re-open VS but it works. Weirdly it works.
