This isn't really a game-changing bug but in my game, certain gun upgrades persist through playthroughs, even after you die, only resetting when you win the game.
https://prox276.itch.io/upgraded
After realising this I just called it a method to make the game easier. I'd go as far as to say that most of my games' mechanics came random mishaps.