Some bugs can be very hard to encounter.
Imagine I’m programming a boss fight. At the end of the fight, if the player has more than 50% of his life left, I play a big celebration animation. If the player has less than 50%, I play a more somber animation. I test my code ; it works flawlessly.
I ship my game. The vast majority of players go through the fight fine, but some players experience a weird bug where nothing happens after the fight and the game soft locks.
Those players ended the fight with exactly 50% of their life left. There was a bug in my logic that was highly conditional and hard to spot.
Latest Answers