This is related to [Link Removed], and possibly the same issue. It is still not possible to open a generated.h file from within a project solution. I was able to reproduce this in both a binary Engine installation, as well as in an Engine built from source code. Two co-workers were only able to reproduce this in an Engine built from source code. Binary Engine installations worked correctly for them.

Steps to Reproduce
  1. Create a new C++ Basic Code project.
  2. When the solution opens in Visual Studio, open the GameModeBase.h file that was created for the project.
  3. Right-click on the name of the GameModeBase.Generated.h include file (the last include in the file).
  4. In the context menu, select the option to open the document (Ctrl-Shift-G).

An error is displayed stating that the file cannot be found in the current directory or build system paths.

Visual Studio opens the generated.h file.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-67548 in the post.

Login to Vote

ComponentUE - Foundation - Cpp Tools
Affects Versions4.
Target Fix4.22
Fix Commit4662991
Main Commit5915479
Release Commit4862694
CreatedDec 13, 2018
ResolvedJan 25, 2019
UpdatedApr 16, 2019
Pull Requests
5356 - ahaczewski