If a Blueprint asset contains a function call node for which the referenced function context is set to 'self', if the "Target" pin is connected to a type that equates to the owning Blueprint asset (other than a reference to self - e.g. a variable of the same type), then duplicating the Blueprint will result in a compiler error in the duplicated asset.
When duplicated, the function node's reference context will now reference the duplicated Blueprint class (as that is the new 'self'), but the connected pin will remain set to the original Blueprint type, so the two sides are no longer type-compatible and will fail validation at compile time. This is the source of the error that occurs.
Workaround: Drag off the variable pin in the duplicated Blueprint asset and re-select the function. This will create a new function call node with a calling context set to the source Blueprint's class, and that Target pin can then be connected to the variable's output pin. Then delete the original function call node that it was previously connected to.
N/A
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
How to achieve HLSL Multiple Render Target in Material blueprints?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
What method is used to fill polygonal regions when drawing spline mesh at run time?
Why does the system plugin 'UnrealBuildTool' error could not be found when the project is compiled?
Why does the REMOVE method of map container remove elements have memory leaks?
Teleporter in the Creative Hub is Locked and cannot be accessed
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-177975 in the post.
1 |
Component | UE - Gameplay - Blueprint Editor |
---|---|
Affects Versions | 4.27, 5.0, 5.1 |
Created | Feb 21, 2023 |
---|---|
Updated | Feb 13, 2024 |