Event Monitor — Automatic C# Event Tracing
Event Monitor is a Editor tool that automatically records what happens to your C# events at runtime.--------------------------------------------------------Event Monitor is officially tested on Unity 6 LTS (6000.3.7f1, 6000.4.2f1) and Unity 2022.3.62f3, and should work on other recent Unity versions.--------------------------------------------------------Automatically trace C# event subscriptions, unsubscriptions, and invocations — no attributes, no wrappers, no manual logging. Browse event timeline, inspect live subscribers, and time‑travel through your session.Documentation: Click here!KEY FEATURESZero-setup automatic instrumentation (IL Post-Processor)Injects tracking into event add/remove accessors and common event invocation call sites after compilation.Append-only timeline (immutable recordsEvery SUB / UNSUB / INVOKE becomes an immutable record you can filter and inspect.Optional payload capture (event arguments)Capture invocation arguments with a single toggle (📦 Payload).Payload-aware UI: INVOKE records are marked, payload is shown per-parameter, and zero-arg events are displayed as (no args).Optional payload object details (reflection inspector)Turn on📦 Details to inspect payload objects (public fields/properties) with safe limits (max items + depth + cycle detection).Live subscriber viewSee the current subscriber list per event (“OwnerType :: EventName → SubscriberType :: MethodName”).Time travelScrub from a selected Log row to reconstruct subscriber state (SUB/UNSUB only) at that moment; the replayed graph is shown on the Subscribers tab. The log itself does not rewind.StatsTotal records, total invocations, unique events, and “hottest” (most invoked) events.Export / copyCopy the log to clipboard as Plain Text, CSV, JSON, or Markdown.ILPP diagnostics (Console)Optional compile-time diagnostics emitted by the IL Post-Processor (enable/disable via ILPP Logs in the toolbar).One-click demo scene`Tools → Event Monitor → Generate Demo Scene` builds a Canvas with labeled buttons (event names on each control), a live HUD, extra sample listeners, and ReflectionScanner — ideal for seeing SUB/INVOKE in the log as you click.READ MOREOverviewQuick StartCore ConceptsHow To GuidesReferenceThroubleshooting & FAQBest PracticesKEY FEATURES:Zero-setup automatic instrumentation (IL Post-Processor)Injects tracking into event add/remove accessors and common event invocation call sites after compilation.Append-only timeline (immutable recordsEvery SUB / UNSUB / INVOKE becomes an immutable record you can filter and inspect.Optional payload capture (event arguments)Capture invocation arguments with a single toggle (📦 Payload).Payload-aware UI: INVOKE records are marked, payload is shown per-parameter, and zero-arg events are displayed as (no args).Optional payload object details (reflection inspector)Turn on📦 Details to inspect payload objects (public fields/properties) with safe limits (max items + depth + cycle detection).Live subscriber viewSee the current subscriber list per event (“OwnerType :: EventName → SubscriberType :: MethodName”).Time travelScrub from a selected Log row to reconstruct subscriber state (SUB/UNSUB only) at that moment; the replayed graph is shown on the Subscribers tab. The log itself does not rewind.StatsTotal records, total invocations, unique events, and “hottest” (most invoked) events.Export / copyCopy the log to clipboard as Plain Text, CSV, JSON, or Markdown.ILPP diagnostics (Console)Optional compile-time diagnostics emitted by the IL Post-Processor (enable/disable via ILPP Logs in the toolbar).One-click demo scene`Tools → Event Monitor → Generate Demo Scene` builds a Canvas with labeled buttons (event names on each control), a live HUD, extra sample listeners, and ReflectionScanner — ideal for seeing SUB/INVOKE in the log as you click.Documentation




