We packaged a plugin by following steps,
- Packaged the plugin and added - bPrecompile=truein- myplugin.build.cs(Also tried to package the build with- -precompileargument) Before packaging- myplugin.build.cs,- public class MyPlugin : ModuleRules { public MyPlugin(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; PrecompileForTargets = PrecompileTargetsType.Any; bPrecompile = true;
- After packaging, added - bUsePrecompiled = trueand- PrecompileForTargets = PrecompileTargetsType.Any;in- myplugin.build.csafter packaging- MyPlugin.build.cs,- public class MyPlugin : ModuleRules { public MyPlugin(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; PrecompileForTargets = PrecompileTargetsType.Any; bUsePrecompiled = true;
- Deleted C++ files & intermediate folder from the packaged plugin Used the plugin with a sample project (Included in the Plugin directory) and it is loaded without any issues. But when we tried to package the game or try to launch the game we are getting the following error: - UATHelper: Packaging (Windows (64-bit)): ERROR: Missing precompiled manifest for 'MyPlugin'. This module was most likely not flagged for being included in a precompiled build - set- PrecompileForTargets = PrecompileTargetsType.Any;in- MyPlugin.build.csto override.
 - PackagingResults: Error: Missing precompiled manifest for 'MyPlugin'. This module was most likely not flagged for being included in a precompiled build - set- PrecompileForTargets = PrecompileTargetsType.Any;in- MyPlugin.build.csto override.
 
    