# Engine source file NavArea.h error when building project

**URL:** <https://forums.unrealengine.com/t/engine-source-file-navarea-h-error-when-building-project/488143>\
**Category:** C++\
**Tags:** source-code, header, bug, unreal-engine, packaging-projects, question, CPP\
**Created:** [August 29, 2021, 12:36am UTC](https://forums.unrealengine.com/t/engine-source-file-navarea-h-error-when-building-project/488143 "2021-08-29T00:36:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Minimantis007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Minimantis007](https://forums.unrealengine.com/u/Minimantis007)\
**Post date:** [August 29, 2021, 12:36am UTC](https://forums.unrealengine.com/t/engine-source-file-navarea-h-error-when-building-project/488143/1 "2021-08-29T00:36:31Z")

</div>

When I try and package the game it gives me this error - UE\_4.25\Engine\Source\Runtime\NavigationSystem\Public\NavAreas/NavArea.h(10): fatal error C1083: Cannot open include file: ‘NavArea.generated.h’: No such file or directory

I’ve tried reinstalling the engine, migrating to a clean project, compiling the project and editing the NavArea file (even though its an engine file and is meant to be read only).  
Any help would be appreciated.
