TSubclass of UPhysicalMaterial - Compilation error

Hey,

Idk if it’s a bug or not, but I receive a compile error when trying to do this:

TSubclassOf<class UPhysicalMaterial> Material;

Including PhysicalMaterial.h doesn’t resolve the issue. What the compiler says:

Resolved by adding “PhysicsCore” to PublicDependencyModuleNames in [ProjectName].Build.cs

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.