# Function does not return Construct Object Reference

**URL:** <https://forums.unrealengine.com/t/function-does-not-return-construct-object-reference/2384389>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [March 11, 2025, 2:17am UTC](https://forums.unrealengine.com/t/function-does-not-return-construct-object-reference/2384389 "2025-03-11T02:17:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![blindminds](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blindminds/32/1213160_2.png) [@blindminds](https://forums.unrealengine.com/u/blindminds)\
**Post date:** [March 11, 2025, 2:17am UTC](https://forums.unrealengine.com/t/function-does-not-return-construct-object-reference/2384389/1 "2025-03-11T02:17:59Z")

</div>

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)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/a/6bae5e9696220d1563c9191013d39d243bd63b26.png)  
Once the UGC Object is Created (Profile\_Base), this is the Set Variables Function that is called on CaMTUGC\_Profile\_Base  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/4/7042a3e21a4a49f3ce3ddbe72f6bdc5ad21595fb.png)  
This is the Build Present Profile Function that is called on the CaMTUGC\_Profile\_Base Object  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/6/a/76aba726ae6c60a112e84c742ff4584420e982a1.jpeg)  
This is the Construct Present Profile Function inside the Build PresentProfile Function (has the Construct Object Node)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/b/4bb566fd16596795d53995115929348eb6aa2f5b.jpeg)  
The Debug Message Value Function (Yellow Text) should output the reference to the object that was constructed, however, its output is empty  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/a/1/4a12ea3ba7126edc0d09a8f219d9a7deaa6e0ed0.jpeg)

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)

---

<div class="post-metadata">

**Author:** ![blindminds](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blindminds/32/1213160_2.png) [@blindminds](https://forums.unrealengine.com/u/blindminds)\
**Post date:** [March 12, 2025, 12:01am UTC](https://forums.unrealengine.com/t/function-does-not-return-construct-object-reference/2384389/2 "2025-03-12T00:01:07Z")

</div>

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

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/a/2/ea21411a7819ac5610e36df3cd7c72d279146c05.png)  
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 ☹  
Still trying to figure this out, reworking some code

---

<div class="post-metadata">

**Author:** ![blindminds](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blindminds/32/1213160_2.png) [@blindminds](https://forums.unrealengine.com/u/blindminds)\
**Post date:** [March 15, 2025, 6:00pm UTC](https://forums.unrealengine.com/t/function-does-not-return-construct-object-reference/2384389/3 "2025-03-15T18:00:48Z")

</div>

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… ☹  
Took me for ever to find this

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [April 14, 2025, 6:01pm UTC](https://forums.unrealengine.com/t/function-does-not-return-construct-object-reference/2384389/4 "2025-04-14T18:01:43Z")

</div>

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