Create local variable in pasted blueprint failing

I’m refactoring a lot of code right now - I’m moving my functions (it suuure would be nice if i could duplicate a function directly to another blueprint btw)

anyway, I’ve noticed when I paste my code into a new function and i attempt to right click a setter node of a missing local variable - and then create it as local variable - it create it OK - but the blueprint doesn’t like that node on my grid unill i delete the node and redrag/create it - i.e I cant successfully compile it even thought its technically there

Be aware that duping functions and events can possibly change the name of the event or function which will cause the new copy not to work.

As two functions or events cannot have the same name, but call be called from multiple locations.

Try to pull the variable target reference from the new location, because most likely the reference hierarchy has changed(The way you refer to it)

this is sound advice but not the scenario I’m speaking about - I paste code into a blank function/class and right click on the node and use the new feature of creating a missing variable - it creates the variable how ever the existing blueprint graph wont accept this new node until i re-drag it from my property list - making this new feature partially useless

I’ll post a youtube video next time I know this is going to happen