[Request] Please Fix Linker Errors for Destructible Component class

Dear Friends at Epic,

I would like to make my own Destructible Actor class,

however at present the Destructible Component symbols are not available.

Can you please make all of the Destructible Component functions available?

1>JoyDestruction.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl ADestructibleActor::GetReferencedContentObjects(class TArray &)const " (?GetReferencedContentObjects@ADestructibleActor@@UEBA_NAEAV?$TArray@PEAVUObject@@VFDefaultAllocator@@@@@Z)

1>JoyDestruction.cpp.obj : error LNK2019: unresolved external symbol "public: void __cdecl UDestructibleComponent::SetDestructibleMesh(class UDestructibleMesh *)" (?SetDestructibleMesh@UDestructibleComponent@@QEAAXPEAVUDestructibleMesh@@@Z) referenced in function "public: void __cdecl AJoyDestruction::JoyInit(class UDestructibleMesh *)" (?JoyInit@AJoyDestruction@@QEAAXPEAVUDestructibleMesh@@@Z)
1>E:\RocketVictory\VictoryGame\Binaries\Win64\RocketEditor-VictoryGame.dll : fatal error LNK1120: 2 unresolved externals

Rama

#All the Apply Damage Functions

none of the apply damage functions are accessible from the C++, even though they are blueprint callable…

JoyDestruction.cpp.obj : error LNK2019: unresolved external symbol "public: void __cdecl UDestructibleComponent::ApplyDamage(float,class FVector const &,class FVector const &,float)" (?ApplyDamage@UDestructibleComponent@@QEAAXMAEBVFVector@@0M@Z) referenced in function

Hi Rama,

I have entered a report for your request to allow the Destructible Component class to be extended.

Cheers

Thanks Stephen!

:slight_smile:

Rama

This has been implemented in the internal build.

Cheers

Yaaaay, thanks for letting me know!

I will make special destructible vid just for you!

#:heart:

Rama

Looks like some of these functions are editor-side only - GetReferencedContentObjects is used by the Content Browser.

I’m under the impression that this is an inherent and deliberate limit with Rocket - I don’t believe you can recompile the editor, ergo this function is never going to be accessible for you?

“GetReferencedContentObjects” is being called automatically,

I am not the one calling it in my code, it is getting called during some sort of construction process or other internally dealt-with process, and so we really need what Stephen is saying, to enable this class to be properly used and extended in the C++ :slight_smile: