It seems like the BuildPlugin command is not copying all the dependencies in the HostProject. 

Here are the errors reported by a customer: 

DynamicCompilation.RequiresCompilation: Compiling D:\Perforce\Project\Test\HostProject\Intermediate\Build\BuildRules\HostProjectModuleRules.dll: Assembly does not exist
DynamicCompilation.CompileAssembly: While compiling D:\Perforce\Project\Test\HostProject\Intermediate\Build\BuildRules\HostProjectModuleRules.dll:
DynamicCompilation.CompileAssembly: d:\Perforce\Project\Test\HostProject\Plugins\ApexDestruction\Source\ThirdParty\PhysX\ApexDestructionLib.Build.cs(22,20) : error CS0246: The type or namespace name 'PhysXLibraryMode' could not be

Steps to Reproduce

See comments for repro steps.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-94447 in the post.

Login to Vote

Won't Fix
CreatedJun 17, 2020
ResolvedJul 19, 2022
UpdatedJul 19, 2022