Find the wait that never finishes
TIMING AND UNFINISHED ACTIONS
A character walks to a locked gate and never gives control back. The last visible animation tells you where the story appears stuck. It may be several statements away from the actual cause.
| The log stops before movement | Check the actor, target and room IDs. Verify that the destination lies on reachable navigation and your action is using the intended character. |
|---|---|
| Movement begins but the next line never runs | Check what the action waits for. A looping animation, unreachable target, or condition that no other handler changes can leave the next line waiting. |
| A second click doubles the reward | Trigger the same input twice quickly. Log the interaction ID on entry and before the reward. Check whether the action can start again while its first call is waiting. |
| The reward appears but input stays locked | Trace every return, error and cancellation path after the input lock. Check the matching unlock or cleanup is reached. Another active interaction can have its own reason for locking input. |
Use a before-and-after pair#
gate | before walk: target=station_door
gate | after walk
gate | before open animation
gate | after open animationThese are suggested trace messages. If “after walk” appears and “after open animation” does not, the next test belongs at the animation. Avoid adding a longer delay until you know what the code is waiting for. Test a second interaction after the first finishes.
0.86.4.3 / Read a cue trace and camera diagnostics > Page 33
