Hello,
There is a problem with setting by reference an interface function input parameter.
You can reproduce the issue;
Step 1: Create a new interface, create a new function, add a Boolean input parameter, and set Pass-by-reference true.
Step 2: Create a new actor BP, add the interface to this BP.
Step 3: Create the event you created in the interface.
Step 4: Drag the Boolean parameter, and type “set by ref”. When the Set Boolean (by Ref) node is created, set the value to True. - (So, whatever Boolean parameter we pass to this function will be set to true.)
Step 5: Compile this BP, and add an instance to the scene.
Step 6: Create an actor based BP (or select if you have any) on your scene.
Step 7: Create a new actor variable, make it public, go back to the scene, and set this variable to the BP you created in Step 2.
Step 8: Create a new Boolean variable, and make it public. Make a call to the interface function, and pass the Boolean parameter to this function.
When you execute and debug the interface, you can clearly see that the Boolean parameter is passed successfully, set to true in function scope, but somehow its value is ignored when the interface function looses execution scope and returns to the caller function.
You can try this workflow as a BP function, or within an another BP with no Interface at all, and see that it works. Somehow fails to work as an interface!
EDIT: Today, I double checked the issue with different variable types (integer, float, etc.) as interface function parameters. Same result; they do not work at all
Kind Regards,