Skip to reading
Debugging and Performance Profiling

Find a late gesture or reply

Edition 0.86.4.5

New 0.86.4.5 field guide. Complements the existing Error Handling & Debugging manual. Benchmark and regression figures are worked examples from the guide, not general performance guarantees. Native GDScript line debugging and engine-level profiling use Godot tools.

Download PDFView PDF page

CUTSCENE DESIGNER / TIMING AND REPLAY

A speech line, a hand marker and a reply may overlap by design. Find the first unexpected event and compare its timing with what the cutscene was authored to do.

1. In Profile, capture one full test of the sequence. Open Resources → Cutscene for the live diagnostic snapshot. In Events, choose the cutscene category and inspect the cue ID, outcome, duration and voice basis when present.

Source table from Find a late gesture or reply, page 10
Clockwork Porter captureObserved result
greet · frame 267Cue completed. Language en and voice basis resolved_voice were recorded. Selected recording duration was about 1.645 s.
gesture.hand.1 · frame 306The numbered hand marker fired. A generic gesture.hand marker also appears on this frame.
reply · frame 391The reply completed. Its recorded start was about 3.837 s on the cutscene timeline, while the gesture ended at about 4.337 s.
1 s                  2 s                  3 s                  4 s                 5 s

greet

gesture

reply

During this English capture, the reply and gesture overlapped for about half a second. Use the cue’s start and end fields to measure overlap.

In Cutscene Designer select the same room and preview language. Enable 2 Record next test, then run Test Cutscene. With the matching room, language and cue setup, select Recorded trace and scrub near the marker. Test timings shows the intervals from the latest test.

Change to the language you want to check, such as en-gb when the project 3 supplies it. Record a fresh full test in that language. Check which recording resolved, whether the expected marker fired and when the reply began. Turn off mute/solo for a matching replay.

Speech can take seconds without causing a hitch

A cue’s full elapsed time includes playback and waits. To investigate a rendering or CPU slowdown during the same moment, cross-check frame intervals and synchronous CPU slices. A frame number on a completed cue identifies its end event.

Page 10 of 13Permalink
Go to page