I’ve renamed my custom node’s Pin naming convention. How to redirect the existing blueprint data to a new naming scheme?
This is not that hard, actually, you can use the core redirects functionality like so:
+PropertyRedirects=(OldName="OldPinName_0",NewName="NewPinName_0")
Where OldPinName_0
is how the pin was named before the refactoring (and thus saved within blueprint) and NewPinName_0
is its new name.
Note that there are actually no type prefixes used here (no Type.OldPinName_0
), since those are not actually supported in this scenario, so consider choosing some descriptive lengthy names in the first place yourself or you risk renaming something excessively.
You could also override the DoPinsMatchForReconstruction
method in your custom blueprint class. This way you get more control fine-grained of what to rename. This method uses the core redirects functionality internally by default.