Figure: Diagnostic workflow: Emitter and receiver → Loops/seeks/retroactivity → Diagnose duplicate dispatch
Figure: Diagnostic workflow: Emitter and receiver → Loops/seeks/retroactivity → Diagnose duplicate dispatch

Cause and mechanism

A Signal triggers an action at a chosen time in Timeline. If it fires twice, check for duplicate Emitters, Receivers, or Directors. Also inspect looping, seeking to another playback time, and Retroactive, which can trigger a signal after playback starts beyond its marker. Low FPS alone does not establish the cause.

Check and correct the setup

  1. Log the director, signal, timeline time, and playback occurrence.
    Inspect transition / overlap
    Inspect transition / overlap
  2. Check duplicate event registrations and configure Emit Once/Retroactive for the intended behavior.
    Inspect transition / overlap
    Inspect transition / overlap
  3. Make rewards/spawns idempotent per playback/event identity; a fixed 0.1-second debounce can suppress legitimate events.
    Inspect transition / overlap
    Inspect transition / overlap

Limits and verification

Emit Once changes loop semantics. Test normal playback, looping, seeking, and low FPS for the intended notification count.

A focused diagnostic setup

Start with one signal/receiver and log Director, time and playback ID for every notification, without looping or seeking.

Test in this order

  1. Check duplicate UnityEvent registrations and concurrent Directors.
    Inspect transition / overlap
    Inspect transition / overlap
  2. Restore loop and seek separately and compare Emit Once/Retroactive behavior.
    Inspect transition / overlap
    Inspect transition / overlap
  3. Protect rewards using playback identity while preserving distinct valid events.
    Inspect transition / overlap
    Inspect transition / overlap

Interpret the result

Normal-play duplicates suggest registration; loop-only duplicates suggest loop semantics; late-start behavior suggests retroactivity. A blanket time debounce can discard legitimate nearby signals.

Related explanations

References