Here’s the Hacker mode
- Grab all the nodes from the function
- Then do a Cut (Control-X)
- Delete the variables in the my blueprint tab
- Paste all the nodes again
- The global variables you deleted now appear grey in the function
- Hover over it and use the context menu to press “create local variable” and magically all the variables become active again and the local variable is created.