- Home /
Some functions do not work when I build the game.,Some functions don't work when I build the game
I made a block breaking game to improve myself. The number of blocks in the scene is kept in a static variable. This number decreases by 1 when the block is broken. When all blocks are broken, the number becomes 0 and it goes to the next scene with the function.
When I test with the Play button in the Unity program, everything is fine. When the blocks are finished, it switches to the other level. But when I build the game it doesn't work. All blocks are finished and do not switch to another level. I'm building the game for windows. What could be the reason?
Your answer
![](https://koobas.hobune.stream/wayback/20220613013520im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Invalid serialized file header 0 Answers
1 exception was raised by workers: See the Console for details. 0 Answers
Unity is broken completely 1 Answer
Transform child out of bounds 1 Answer
[Error] Error While Importing Packages 0 Answers