Monolithic headers should not be used by this module

Hi,

could anyone please explain me this warning when compiling my module ?

—> Engine.h(10) : warning: Monolithic headers should not be used by this module. Please change it to explicitly include headers it needs. What is correct solution for this ? or is tat something about to be fixed with ue 4.20 version ?

Thanks !.

Its saying that you can’t include engine.h, you need to include the smaller headers like Actor.h

Thanks understood, but in previous version of UE4 it was not warning. So we have to build modules using explicit include headers from now, right ? Also,there are also tons of “cannot open source file” errors & “this declaration has no storage class or type specifier”, but finally build is sucessfull.