Attempting to open a .generated.h file using intellisense results in an error due to the file not being found as the proper search file paths were not added when generating the project files.
Please read: I'm not 100% sure if this is required, as the users who reported it did not mention it, but to have this work properly in 4.19, I had to open the solutions properties > NMake > Include Search Path and click in the field once. No edit needed to be made, but after that, I was able to open the .generated.h through the steps listed above in 4.19. I tried this in 4.20 and it did not resolve the error. See the attached images for differences.
Regression?: Yes
This does not occur in 4.19.2
UE4.20 is missing the IntelliSense IncludePath for the *.generated.h files
UE4.20 is missing the IntelliSense IncludePath for the *.generated.h files
UE4.20 is missing the IntelliSense IncludePath for the *.generated.h files
Cannot open Source File ".generated.h"
Visual Studio Intellisense Cannot Open Generated.h Files in 4.20
.generated.h not found but it exists
UE4.20 and Visual Studio 2017 Errors
Visual Studio Intellisense Cannot Open Generated.h Files in 4.20
Head over to the existing Questions & Answers thread and let us know what's up.
276 |
Component | UE - Foundation - Cpp Tools - UnrealHeaderTool |
---|---|
Affects Versions | 4.20, 4.21 |
Target Fix | 4.20.3 |
Fix Commit | 4308681 |
---|
Created | Jul 23, 2018 |
---|---|
Resolved | Aug 22, 2018 |
Updated | Dec 13, 2018 |