I’m trying to use a UDestructibleComponent in a C++ class but when I include DestructibleComponent.h I get a compiler error: fatal error C1083: Cannot open include file: ‘DestructibleComponent.generated.h’: No such file or directory
If you open your DestructionSystem_TB.Build.Cs file, you should see the following line to add Dependency Modules.
You will need to add the ApexDestruction module.