How to disable IWYU (changing UE4.17 to UE4.14 coding workflow)?

Hey guys, since UE4.15 all new classes have included CoreMinimal.h definitions. I don’t like the idea since many of newbies already struggle with Unreal C++, now with limited definitions in inteliSense it’s even harder. How can I return UE to old state with full engine includes? I tried writing bEnforceIWYU = false; in my game’s build.cs file, but nothing’s changing at all.

Hi, I appear to have addressed this issue by changing bEnforceIWYU=false in the ENGINE source code (to compile Substance plugin for 4.17 VXGI branch by Nvidia).

In the folder Engine\Source\Programs\UnrealBuildTool\Configuration there are two files where this was changed:

TargetRules.cs
ModuleRules.cs

Maybe changing bEnforceIWYU in the engine source code itself can help? Maybe changing the game’s source code itself is not enough?

All the best!

So you had no success by changing in engine? I’m sticking to V4.14

#include “Engine.h”