Duplicate local variable name breaks Blueprint Function Libraries

polymatheddy
Tue, 26 Aug 2014 18:01:28 +0000
Blueprint

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?

3 posts - 1 participant