This usually happens when the macro is called and the referenced variable is not valid / not plugged in outside the macro itself. Make sure all ‘plugs’ are connected. Another alternative would be, as mentioned in other forums, use the IncrementInt (++)