I’m currently trying to package a C++ plugin I wrote. The plugins compiles fine in DebugGame_Editor, Development, and Shipping (inside VS2017) but when I click on the Package button, i got this error:
UATHelper: Package Plugin Task (Windows): C:\Program Files\Epic Games\UE_4.20\Engine\Source\Runtime\Core\Public\Core.h(6): warning: Monolithic headers should not be used by this module. Please change it to explicitly include the headers it needs.
UATHelper: Package Plugin Task (Windows): C:\Users\Stagiaire\Documents\Unreal Packages\DeltatecMedia\HostProject\Plugins\DeltatecMedia\Source\GPUResourcesSharing\Public\GPUResourcesSharing.h(14): fatal error C1083: Cannot open include file: 'Array.h': No such file or directory
I use PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
in my module .Build.cs (As it is possible that this information is useful).
Why is there a problem? If you have any pointers, please share them.