Skip to reading
Error Handling & Debugging

Turn “it’s broken” into a test

Edition 0.86.4.4 Hotfix 2

Updated through 0.86.4.4 Hotfix 2, with cinematic property, recorded-pose or voice-timing lessons as described in this guide. Earlier examples, screenshots and complete registry figures retain their stated edition context.

Download PDFView PDF page

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#

Source table from Turn “it’s broken” into a test, page 3
The editor gives a line numberOpen that script and inspect the reported line and the one before it.
The report names a room, camera or assetOpen Project Validation and read the record path.
The player can act, but the result is wrongCheck which action ran, what values it received and which branch it chose.
The application disappearsRecord the last reliable action and whether the editor or the built game closed. Start with page 23.
Page 3 of 37Permalink
Go to page