Skip to reading
Error Handling & Debugging

Prove the fix and write it down

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

REGRESSION CHECKS AND BUG REPORTS

A fix is convincing when it removes the failure and preserves the cases that already worked. For the gate, that means checking one ticket, exactly two, and more than two.

01. Repeat the original sequence from the same starting state. Use the real input at least once. A direct script run can skip the very event or button that caused the problem.

02. Check the cases immediately on either side. Restart a fresh session if startup matters. If you changed saved state, repeat the same test after loading. If the problem was device-specific, run the corrected build on that device.

03. Remove temporary debug messages or reduce them to the ones that explain genuine failures. Clear diagnostic breakpoints and confirm the game can finish the sequence again.

A bug report someone else can act on#

Source table from Prove the fix and write it down, page 24
WherePCA3D 0.86.3.4, Linux editor preview. gate_check, triggered by the Use gate button.
Steps and actual resultPut exactly 2 tickets in the shared counter. Press Use gate once. Output says Gate stays closed. With 3 tickets, it says Gate opens.
Expected resultThe fare is 2. The gate should admit a player holding 2 or more.
Cause and verificationThe condition used >. Changed it to >=. At ticket counts 1, 2 and 3, the corrected routine returned false, true and true. Pressing the button at 2 logged Gate opens.

For an unresolved bug, leave the cause open. Attach the smallest relevant screenshot or log excerpt and include anything that makes it stop happening. “Only after loading slot 3” can be the most important sentence in the report.

Page 24 of 37Permalink
Go to page