# EnhancedInput - Headers going missing

**URL:** <https://forums.unrealengine.com/t/enhancedinput-headers-going-missing/1198363>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [June 13, 2023, 9:27pm UTC](https://forums.unrealengine.com/t/enhancedinput-headers-going-missing/1198363 "2023-06-13T21:27:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PivotPull1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PivotPull1](https://forums.unrealengine.com/u/PivotPull1)\
**Post date:** [June 13, 2023, 9:27pm UTC](https://forums.unrealengine.com/t/enhancedinput-headers-going-missing/1198363/1 "2023-06-13T21:27:31Z")

</div>

I’m following a course, and after being able to compile this exact project a week or two ago, I no longer can despite making zero changes. Why? Because the compiler cannot find the files for certain includes.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/3/d/e3dfee32d5eb67e3ffce5694783ab7dc39b0df9d.png)  
Why is it that despite having the correct #include for UEnhancedInputLocalPlayerSubsystem that the compiler STILL won’t recognize it?

> **[UEnhancedInputLocalPlayerSubsystem](https://docs.unrealengine.com/5.2/en-US/API/Plugins/EnhancedInput/UEnhancedInputLocalPlayerSubsyst-/)**
>
> Per local player input subsystem.

---

<div class="post-metadata">

**Author:** ![Mike\_Implementation](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mike_implementation/32/1004938_2.png) [@Mike\_Implementation](https://forums.unrealengine.com/u/Mike_Implementation)\
**Post date:** [June 13, 2023, 9:43pm UTC](https://forums.unrealengine.com/t/enhancedinput-headers-going-missing/1198363/2 "2023-06-13T21:43:17Z")

</div>

Not that this is very helpful, but I’m having a similar problem.

At least in my case, if I base my project off a template other than blank, the header files can be found just fine, so based on whatever type of project you’re working on (eg. third person), you could give that a try.

Also, let’s say for example you’re trying to declare a variable of type UEnhancedInputComponent\* and you get a red squiggly, hover the cursor over it and see if you get a prompt for Ctr + Alt to see potential fixes. This sometimes works for me, but the include ends up looking something like:

 ![Screenshot 2023-06-13 144101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/f/7/2f733245c4d5ad07c36b0b0e5d1c3499f16fc32b.png)

If you figure out a better solution, let me know!

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [June 13, 2023, 9:52pm UTC](https://forums.unrealengine.com/t/enhancedinput-headers-going-missing/1198363/3 "2023-06-13T21:52:04Z")

</div>

Notice that UEnhancedInputLocalPlayerSubsystem requires a specific module called “EnhancedInput”.

![module](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/4/8/d480c32a3c47a9b28208d1acbec0fc3277e94b04.png)

You need to add “EnhancedInput” to your build file

Either in the public or private dependencies.

Depending on which version you choose you will have different access to files & properties.

```auto
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "EnhancedInput" });

```

---

<div class="post-metadata">

**Author:** ![PivotPull1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PivotPull1](https://forums.unrealengine.com/u/PivotPull1)\
**Post date:** [June 13, 2023, 9:59pm UTC](https://forums.unrealengine.com/t/enhancedinput-headers-going-missing/1198363/4 "2023-06-13T21:59:55Z")

</div>

Yeah I added that (even though I was pretty sure I already had it before) but maybe overwrote it.

I’m getting a different problem now: [Unresolved External Symbols?](https://forums.unrealengine.com/t/unresolved-external-symbols/1198384)

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [June 14, 2023, 7:53am UTC](https://forums.unrealengine.com/t/enhancedinput-headers-going-missing/1198363/5 "2023-06-14T07:53:56Z")

</div>

If the error regarding enhanced input is gone, please mark this thread as resolved.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 14, 2023, 7:54am UTC](https://forums.unrealengine.com/t/enhancedinput-headers-going-missing/1198363/6 "2023-07-14T07:54:12Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
