What you see going wrong
The Quest Is Done Before the Player Did Anything
A quest that counts as done the moment it starts usually has an empty list of goals: "every goal is met" says yes to an empty list. The test and the fix.
Health Shows NaN and the Enemy Will Not Die
NaN in a health bar or score means a sum became "not a number": endless damage times 0, or a name like "constructor". Why the enemy then cannot die, and the fix.
The Gun Fires Slower Than Its Fire Rate
A held trigger that waits one frame too many fires 38 shots in ten seconds instead of 40 at 60 frames a second, and another number at 120. The test and the fix.
The XP Bar Is Full, but the Level Will Not Unlock
In a computer 0.1 + 64.1 + 35.8 is 99.99999999999999, not 100. A full bar then does not level up, and a sale pays one coin short. The test and the fix.
The Character Hangs in the Air Below the Ladder
Grab a ladder with the feet below its foot, and the character climbs or hangs below the ladder's end. Hold the body between the ends: the test and the fix.
The Grappling Hook Grabs the Wrong Point When the Game Stutters
A hook that picks the anchor it passes closest to grabs a different one in one long frame than in many short ones. Pick the one it reaches first: test and fix.
The Door Will Not Open, Although the Player Has the Ability
A typo in the ability a door asks for goes unseen when another ability still opens it, and a dead-end check says all is fine. List unknown names: test and fix.
The Achievement Pop-Up Tells the Same Unlocks Twice
A summary pop-up that keeps its count after it ends says "and 3 more" for unlocks the player already saw: six unlocks were told as nine. The test and the fix.
Autosave Is On, but a Crash Loses More Than It Should
After a slow save, an autosave whose clock restarts at zero lets new changes wait the save's time plus the whole limit: 8 s against 5 in our test. Test and fix.
The Game Freezes When Loot Drops
A fair loot roll draws again until the number fits. If the weights add up past 4,294,967,296, no number ever fits and the game hangs. The test and the fix.