Turn “it’s broken” into a test
FINDING THE CAUSE
“The gate is broken” leaves a lot of room for guesswork. “Press Use gate with two tickets and the gate stays closed” tells you exactly where to start.
01. Write down the rule. The fare is two tickets. A player with one ticket should be refused. A player with two or more should get through.
02. Keep the starting conditions steady. Use the same room, the same button, the same character and a known ticket count. Record whether you started a new game, tested the scene directly or loaded a save.
03. Make the problem happen twice. If it only fails the second time, that detail matters. A value may survive a room change, a GUI may open twice or a one-time event may already have fired.
04. Change one thing. Keep the button and room in place. Change only the ticket count. A failure at exactly two points toward the comparison. Failure at every count points farther up the chain.
Choose the first place to look#
| The editor gives a line number | Open that script and inspect the reported line and the one before it. |
|---|---|
| The report names a room, camera or asset | Open Project Validation and read the record path. |
| The player can act, but the result is wrong | Check which action ran, what values it received and which branch it chose. |
| The application disappears | Record the last reliable action and whether the editor or the built game closed. Start with page 23. |
