# GENERATED\_BODY error

**URL:** <https://forums.unrealengine.com/t/generated-body-error/466501>\
**Category:** C++\
**Tags:** macros, unreal-engine, CPP, question\
**Created:** [June 10, 2020, 1:20am UTC](https://forums.unrealengine.com/t/generated-body-error/466501 "2020-06-10T01:20:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OkamiDexter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OkamiDexter](https://forums.unrealengine.com/u/OkamiDexter)\
**Post date:** [June 10, 2020, 1:20am UTC](https://forums.unrealengine.com/t/generated-body-error/466501/1 "2020-06-10T01:20:05Z")

</div>

![304006-untitled-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/a/4/ea491a13a8508bfdabb3fc20f919d063c2071310.png)

Is there any way to stop the error popping up for “GENERATED\_BODY” when I need to add an additional #include header. Clicking ‘generate visual studio files’ is a temporary fix but I don’t want to keep doing that every time I add a new line of code. I cant seem to find a permanent fix anywhere.

---

<div class="post-metadata">

**Author:** ![Rene\_Zwaan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rene\_Zwaan](https://forums.unrealengine.com/u/Rene_Zwaan)\
**Post date:** [June 10, 2020, 1:47am UTC](https://forums.unrealengine.com/t/generated-body-error/466501/2 "2020-06-10T01:47:51Z")

</div>

Hey Dexterz Renegade,  
It definitely is an annoying problem.

Make sure your generated include is at the bottom of the include list.

I am using Rider for unreal atm. It is a lot better at making sure these kinds of errors don’t happen.

> **[Rider for Unreal Engine](https://www.jetbrains.com/lp/rider-unreal/)**
>
> Smart C++ and Blueprints support to craft the best games
