Variable only updates when displayed in text. I don't understand.

I've been working on this project and come across an issue that makes no sense to me.

I have an event that saves a value in a variable. At the end of the event processing, I put a text box instruction that reveals the variable value to the player. (This is for testing purposes and I would like to remove this text box.)

I then have another event one tile later that does nothing other than revealing this value in a text box again. (more testing). This confirms that the value of the variable has been changed and saved as expected.

I then delete the text box instruction from the first event, while making absolutely no changes to anything else in the entire game. Removing this text box results in the variable value not only not being saved but also being set to 0.

Here is a minute and a half video documenting this. This makes no sense to me. Can someone explain how this behaviour is even possible?

edit: A classic case of "complain and solve." The instant I posted here about the issue I found a way to deal with it. Sorry for wasting everybody's time. I did spend an hour looking into this before posting, but I guess I should have just taken an hour and a minute.
Please show screenshots of your events. And your plugin list. Have you used the search facility to see if this variable is used anywhere else?

(I know you have a video, but I'm not going to spend a minute and a half watching, hoping you show the exact things I need to see but not having any idea when I might see it or for how long - seriously, just give screenshots, it's rare that we need to see a video)
I fixed the issue, so this thread can be closed.

Sorry for wasting anybody's time with this. My variable was being used in another event and there was a conflict with autorunning a bunch of things. I've separated the variable into multiple variables to prevent the issue. I'll keep the screenshot thing in mind for the future. I agree that it would probably be better.
Please show screenshots of your events. And your plugin list. Have you used the search facility to see if this variable is used anywhere else?

(I know you have a video, but I'm not going to spend a minute and a half watching, hoping you show the exact things I need to see but not having any idea when I might see it or for how long - seriously, just give screenshots, it's rare that we need to see a video)
I suspected that might be the case. Glad you were able to find it yourself.

Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/variable-only-updates-when-displayed-in-text-i-dont-understand.157033/