'Delete Unused Variables' does not work for local variables

I am here in my function library trying to delete unused variables via Edit → Delete Unused Variables, and it is telling me that there are no variables to check for, despite me clearly having unused variables in the graph. Steps to replicate are simple, just create a function library, make a few variables, and try to delete them via the function.

Hello Jamendxman3,

I have been able to reproduce your issue, and have entered a JIRA, UE-22086. Thank you for your report.

Have a great day,

Sean Flint

Bug still present, can we update this to 4.18?? (And all the versions in between)

Hello,

We have updated the ticket to reflect that it is still occurring as of 4.18.

Have a great day