# Cannot open Source File ".generated.h"

**URL:** <https://forums.unrealengine.com/t/cannot-open-source-file-generated-h/430150>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, intellisense, Visual-Studio, question, CPP\
**Created:** [July 24, 2018, 2:30pm UTC](https://forums.unrealengine.com/t/cannot-open-source-file-generated-h/430150 "2018-07-24T14:30:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MadeInAm3rica](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MadeInAm3rica](https://forums.unrealengine.com/u/MadeInAm3rica)\
**Post date:** [July 24, 2018, 2:30pm UTC](https://forums.unrealengine.com/t/cannot-open-source-file-generated-h/430150/1 "2018-07-24T14:30:27Z")

</div>

I followed the [Programming Quickstart][1] and the [Setting up Visual Studio][2] section of the documentation multiple times and am getting tons of errors in the Actor class i create. Things like E0135"UObject" has no member “BeginPlay” / identifier FTakeAnyDamage undefined

 ![248356-errors.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/2/1/721f3a6230ade82977cf2f90bf228e79f1f1a92d.png)

Ive Installed C++ tools in VS, tried regenerated uproject files, but it’s a fresh project generated by the 4.20 engine. **The project builds fine.** But these errors are making me crazy. Is there something i need to change in settings

My Configuration for build:

 ![248355-configuration.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/c/7/0c7e4804b0b03befa2e265f95ba2175884e4e187.png)

Everything is default, freshed install of VS and UE4.20. Any ideas are appreciated.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b496f3c1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b496f3c1](https://forums.unrealengine.com/u/anonymous_user_b496f3c1)\
**Post date:** [July 24, 2018, 6:20pm UTC](https://forums.unrealengine.com/t/cannot-open-source-file-generated-h/430150/2 "2018-07-24T18:20:53Z")

</div>

It’s a known issue for 4.20 build: [Unreal Engine Issues and Bug Tracker (UE-62042)](https://issues.unrealengine.com/issue/UE-62042)

---

<div class="post-metadata">

**Author:** ![MadeInAm3rica](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MadeInAm3rica](https://forums.unrealengine.com/u/MadeInAm3rica)\
**Post date:** [July 25, 2018, 12:48am UTC](https://forums.unrealengine.com/t/cannot-open-source-file-generated-h/430150/3 "2018-07-25T00:48:20Z")

</div>

Thanks! I ending up building from source, but I installed Visual Assist and that works well. Will check the known issues next time.
