# UHT #includes generating the incorrect path

**URL:** <https://forums.unrealengine.com/t/uht-includes-generating-the-incorrect-path/2601472>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [May 29, 2025, 3:16pm UTC](https://forums.unrealengine.com/t/uht-includes-generating-the-incorrect-path/2601472 "2025-05-29T15:16:56Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![RelaX92](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RelaX92](https://forums.unrealengine.com/u/RelaX92)\
**Post date:** [September 1, 2025, 12:39pm UTC](https://forums.unrealengine.com/t/uht-includes-generating-the-incorrect-path/2601472/15 "2025-09-01T12:39:51Z")

</div>

I have an issue that might be related to this aswell, I’m on 5.6.1.

I recycled some code from the CitySample and ended with a Gamefeature with CitySample and CitySampleAnimGraphRuntime.

It compiled fine in 5.5.x, but not in 5.6.1 I also get an error, that my include paths in gen.cpp files for CitySampleAnimGraphRuntime are incorrect.

What I actually include in the header:

#include “CitySample/Anim/CitySampleAnimNode\_CopyPoseRotations.h”

What’s included in the generated cpp:

#include “Anim/CitySampleAnimNode\_CopyPoseRotations.h”

I manually added “CitySample/” to the wrong include paths, that way I can actually build, but that’s kinda annoying, because I have to do it on nearly every build.

---

_[View the full topic](https://forums.unrealengine.com/t/uht-includes-generating-the-incorrect-path/2601472)._
