Duplicate local variable name breaks Blueprint Function Libraries

When using Blueprint Function Libraries, creating various functions in the same library that all implement a local variable with the same name, deleting that local variable in one function effectively deletes it in all other functions, breaking the rest of the functions in a library

It seems counterintuitive that a variable that is local to a function should be a shared element by various functions in the same library. I have a family of functions that each output a Vector Array, in each of these functions I name their local variable “_ValidLocations”

If I should delete or rename valid locations in any one function, all the others break. Shouldn’t the variable name be local to each function rather than each library?

Hi polymatheddy,

Apologies for this one getting overlooked. We are going back through a lot of these posts now in order to resolve them.

Are you still experiencing this crash or did it get resolved for you in a newer release of the editor?

If it’s still an issue let me know and I can look into this further.

Thank you!

Tim

Hi polymatheddy,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.