4.6 broke my macro

Hi ,

I have great news. The macro you have is not broken due to a bug. It is broken because the functionality that you have in your macro is technically supposed to be in a function. Macro libraries are not intended to carry local variables, and as such the variables in your macro are technically null references (because they do not actually exist anymore). You can see this by right clicking on a pin and type “Promote to variable”. In a macro, even without context sensitivity turned on you will not be able to access this. What you will want to do is create a function library and simply move all of your function, which you can copy/paste over, into a function as opposed to a macro and make the 3 variables once more. After doing so you should not have this problem anymore.