[Bug] [Unity 2020.1.16f1] All variables comes back after delete when you undo a change

MBun

New member
Hi,

I would like to report this bug, if it hasn't been done before. Sorry if it's a duplicate.

Steps to repro :
  • Have some variables on a node
  • Delete at least 2 of them in the Variables window.
  • Perform an Undo (Ctrl + Z)

All the variables come back in the variable window.
 
Thank you! The variable wasn't being registered with undo/redo so I've added that code. This will be fixed in the next update.
 
Top