Errors that occurred during packaging

I have solved past problem. But Now I face a new one.

In this picture, I want to reset number:

now I click “reset”, it works well:


But after I packaged this project. I did the same thing. Strangely, it did not work as debugging in game engine editor.
As you can see:

What should I do?