Function does not return Construct Object Reference

I have been using UE for about 6 years now, and for the life of me I cannot understand why this function does not return an object reference?..
Funtion for a Data Asset Object that is loaded, and the CaMTDA to UGC function is called to convert it to a User Generated Content Object (SaveGame Object)


Once the UGC Object is Created (Profile_Base), this is the Set Variables Function that is called on CaMTUGC_Profile_Base

This is the Build Present Profile Function that is called on the CaMTUGC_Profile_Base Object

This is the Construct Present Profile Function inside the Build PresentProfile Function (has the Construct Object Node)

The Debug Message Value Function (Yellow Text) should output the reference to the object that was constructed, however, its output is empty

Anyone have any idea why this is? I am completely stumped, and I have been using Unreal for like 6 years now…not exactly a noob, not exactly an expert either lol

I am completely stumped as to why this is

You can see in the Print Strings (Teal and Light Green, the object is indeed constructed and outputs the display name (CaMTUGC_CharProfile_C7)

I finally found un-connected pins here (highlighted) in the child class that overrides the Construct Present Profile (but calls parent function FIRST)


When I connected them, it worked

If someone could explain to me why this is, I would greatly appreciate it, as I don’t really understand why the parent class and functions would return empty results if the parent class functions are called before where the pins in the child class were not connected?

THIS WAS NOT THE SOLUTION :frowning:
Still trying to figure this out, reworking some code

Error:
I found a branch that had a return node connected to the branch preventing the code executing the next pin in a sequence node… :frowning:
Took me for ever to find this

1 Like

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