{Bug} Random duplication of variables
I created 5 variables to test out the new variable system. I created these variables on a single slide and assigned them to buttons.
I then began programming advanced actions with the buttons on the same slide and I realized there was an entire list of duplicated variables all from the initial 5 that were created.
I did not duplicate the buttons on this slide, nor did I duplicate the slide itself.
- The variables couldnt be deleted until I saved the file and reopened it.
-
Lieve Weymeis commented
I don't really understand how you assign variables to buttons? Do you mean that you clicked a button and the variable was incremented, or assigned a value?
However I agree with your bug report: user variables of any type are randomly duplicated and you end up with a sequence of identical variables treated in the 'smart labeling' way by adding a number to the original name. The problem is that you cannot know which of those variables is really used when you create a conditonal action later on. The normal debugging way is to insert the variable value in the whole project, but with the loss of timing for the project that means a lot of copy/paste and adding text blocks. I tried to figure out when the duplication occurred, looks to be whenever you use the first variable, but I am not completely sure yet.