it tries to include a clothing related header, even though the blueprint in question doesnt use any clothing, neither does any of the attached components or parent classes.
this is the include in the generated nativized cpp file:
which in return includes the generated header in the log output below.
and this is the relevant part of the log output:
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: PCH.NativizedAssets.cpp UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: D:\DEV\Unreal Projects\MyProject\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Public\NativizedAssets.h(10): fatal error C1083: Cannot open include file: 'ClothingSimulationFactory.generated.h': No such file or directory UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: D:\DEV\Unreal Projects\MyProject\Intermediate\WindowsNoEditor\NativizedAssets\Binaries\Win64\MyProject-NativizedAssets.lib
which header do i have to include in the [BlueprintNativizationSettings] section? or is there perhaps a way to prevent that header to be included?
i can send the full generated cpp via pm if needed.