Im calling a function from a component. The function executes correctly (confirmed with Print Strings), reaches the Return Node, and returns the expected value.
However, the Exec output pin of the function call node does nothing – it doesn’t continue the execution flow.
The Target is valid and connected. Any idea what might cause this?
The node on the screenshot seems perfectly fine, could you please screenshot the whole graph for additional context?
The entire setup is too large to screenshot, so here’s the situation:
I pass a blue Dialogue
array (part of a struct) into a function.
Inside the function, everything works perfectly: the values are modified as expected, and the Return Node is definitely reached.
The function is supposed to return the modified array, so I can reinsert it into the original struct.
However, the Exec output of the function node does not fire at all, and the returned value seems to be missing or ignored.
The Target is a valid component, and the Return Node has a value connected.
What could be causing the function’s output (both Exec and data) to not trigger, even though the function body itself executes correctly?
The execution pin/wire is, by definition, tied to the execution of the node. If the node executes correctly, the wire will pass on the execution; in other words, something isn’t executing correctly. Check for compilation errors and/or message log errors.
It’s really hard to be of any help if we don’t have the context, I’m not even sure which function(s) you’re referring to in your description of the situation (is it the node in the image, or the parent function, or something else). Please screenshot both the graph inside the Dialogue node and the parent graph (the graph your first screenshot was in).
I found my error. thank you anyway!