Increment/decrement int error umg

I re ordered a variable in my umg hierarchy for my player hud and when i did it broke the increment and decrement int nodes. the hud blueprint errors when i compile it with an error on increment and decrement that reads 'cannot write to const Target generated from expanding increment int

Have you tried deleting the decrement node and re-making it?

yeah it didn’t work,i ended up having to delete the variable and make a new one, thankfully i hadn’t referenced it much anywhere else

What if you use the good old Message Text Index - 1 → Set Message Text Index ?

haven’t tried it, i just deleted the old variable