x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[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

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 02:35 AM in C++ Programming

avatar image

ue4-archive ♦♦ STAFF
49.9k 3658 1982 9111

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:35 AM

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 

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Hi Rama,

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

Cheers

more ▼

answered Mar 11 '14 at 02:35 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3658 1982 9111

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:35 AM

Thanks Stephen!

:)

Rama

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:35 AM

This has been implemented in the internal build.

Cheers

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:35 AM

Yaaaay, thanks for letting me know!

I will make special destructible vid just for you!

Rama

(comments are locked)
10|2000 characters needed characters left

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?

more ▼

answered Mar 11 '14 at 02:35 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3658 1982 9111

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:35 AM

"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++ :)

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question