Another "Cannot open include file: "XXX.generated.h". No such file or directory" error

I’ve tried everything I could think of and find on the forums. The specific error I’m getting is

fatal error C1083: Cannot open include
file: ‘USEdEngine.generated.h’: No
such file or directory

There is definitely such a file, and it’s being updated/generated properly at

Intermediate\Build\Win64\UE4Editor\Inc\USEditor

I’ve recently downloaded the zip of 4.26 from git, upgrading from 4.22.2. I have another editor module deriving from this USEditor, but that one doesn’t have the issue.

List of things I’ve tried:

1 Like

Solved this by adding a missing module include (PrivateDependencyModuleNames).

2 Likes