Hi there,
I’ve noticed some weird behavior and I’m not sure if it’s a bug or a feature: Since UE5.0 it seems that functions from Blueprint interfaces are automatically overriden if you create a child class of an actor that implements the interface.
Simple example:
-
Create a new actor and name it “Parent”. Create an Integer variable in “Parent” and name it “MyIntegerVariable”
-
Create a new Blueprint Interface and within that interface create a function called “MyFunction”.
-
Give “MyFunction” an Integer ouptut and call it “MyIntegerOutput”
-
Implement the Interface in Actor “Parent”. Open the implemented Function and plug in “MyIntegerVariable” to the output of the function “MyIntegerOutput”.
-
Create a child class of “Parent” and call it “Child”. Open it.
-
You’ll notice that the function “MyFunction” in “Child” Actor is automatically overriden and empty in the child class.
-
Expected behavior (works in versions before 5.0): The function should not be overriden by default
So is this intended and is there a workaround?
Thanks,
Daniel