# Can not open header files

**URL:** <https://forums.unrealengine.com/t/can-not-open-header-files/432549>\
**Category:** C++\
**Tags:** header, unreal-engine, question, CPP\
**Created:** [August 27, 2018, 12:35pm UTC](https://forums.unrealengine.com/t/can-not-open-header-files/432549 "2018-08-27T12:35:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lavios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lavios](https://forums.unrealengine.com/u/Lavios)\
**Post date:** [August 27, 2018, 12:35pm UTC](https://forums.unrealengine.com/t/can-not-open-header-files/432549/1 "2018-08-27T12:35:00Z")

</div>

Tell me why can this happen?  
Occurs in all C ++ files, in the plugin GameplayAbilities

Version UE - 4.20.2

 ![251696-screenshot-10.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/b/7/eb7cfefadd13ec59bdca23cb8361dfc10c780f6c.png)

update:

I forgot to say that there are no problems with the compilation. The problem is only with navigation by code.

In version 4.19, this problem was not.

---

<div class="post-metadata">

**Author:** ![Hyrex93](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hyrex93](https://forums.unrealengine.com/u/Hyrex93)\
**Post date:** [August 28, 2018, 1:26am UTC](https://forums.unrealengine.com/t/can-not-open-header-files/432549/2 "2018-08-28T01:26:00Z")

</div>

It is possibly it is not included in your Game.Build.cs file. Try

```
PublicDependencyModuleNames.AddRange(new string[] {
 "GameplayTasks",       
 "GameplayTags",       
 "GameplayAbilities"
});

```

Adding it there would equivalent to adding a bulk of headers.

---

<div class="post-metadata">

**Author:** ![Lavios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lavios](https://forums.unrealengine.com/u/Lavios)\
**Post date:** [August 28, 2018, 8:34am UTC](https://forums.unrealengine.com/t/can-not-open-header-files/432549/3 "2018-08-28T08:34:55Z")

</div>

Did not help.

I forgot to say that there are no problems with the compilation. The problem is only with navigation by code.

In version 4.19, this problem was not.

---

<div class="post-metadata">

**Author:** ![Lavios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lavios](https://forums.unrealengine.com/u/Lavios)\
**Post date:** [September 5, 2018, 11:49am UTC](https://forums.unrealengine.com/t/can-not-open-header-files/432549/4 "2018-09-05T11:49:33Z")

</div>

bump…
