About return pins on BPs

lukasoliver
Wed, 16 Jul 2025 18:33:18 +0000
Programming & Scripting

Does functions create a temporary class variable (property) when they have a return pin and are placed in the event graph?
Because the shown on the image below will work forever, it will never crash or return something like “null int”

Does this means that if i have a lot of function nodes returning a huge struct they will each one create a persistent variable?

4 posts - 2 participants