fatal error C1853 on Plugin Packagin only

Hi,

after a VS2017C update I made yesterday, I get the following error when packaging my plugin (multiple times for each pch):

D:\UE4\MyProjects\EOC\RTSPluginV194\RTS\HostProject\Plugins\RTS\Intermediate\Build\Win64\UE4Editor\Development\RTS\Module.RTS.gen.2_of_4.cpp: fatal error C1853: ‘D:\Programs\Epic Games\UE_4.21\Engine\Intermediate\Build\Win64\UE4Editor\Development\Engine\SharedPCH.Engine.h.pch’ precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)

I have tried to clean everything, deleting all project and plugin .vs, Binary, Intermediate, Saved folders, regenerating solution, then rebuilding, but no help…

Beside the VS update, I have also created a Git source control previously, but in theory it cannot disturb anything…

Of course just in the worst possible moment, I should add it to a new project within days…

Any idea? Thanks :slight_smile:

Problem solved, a new Win10 SDK was installed with the latest update, imo no full VS reinstall needed, just modify VS installation and keep only the latest Win10 SDK (uncheck old version, apparently UE4 uses it for pch creation somehow, but the latest for everything else, but I’m not a pro, just guessing)