Appearance
Import checklist (Asset Store / legacy asset export)
Use this checklist when you install Event Monitor via Unity Asset Store or .unitypackage import instead of UPM.
For UPM installation (dependencies automatic), see Installation.
1) Add required package dependency
In the target project, open Packages/manifest.json and ensure:
json
{
"dependencies": {
"com.unity.nuget.mono-cecil": "1.11.6"
}
}Without this dependency, Unity.EventMonitor.CodeGen fails to compile with Mono.Cecil missing-type errors.
2) Recompile and verify ILPP assembly
After editing manifest.json:
- Let Unity resolve packages
- Trigger script recompile (or restart Unity)
- Confirm there are no
CS0234/CS0246errors forMono.Cecil.*
3) Enable diagnostics (optional but recommended)
If import still behaves unexpectedly:
- enable ILPP diagnostics in Event Monitor
- check Unity Console for per-assembly injection summary
See ILPP diagnostics and settings.
4) Smoke-test behavior
- Open
Window -> Event Monitor - Turn on
Record - Enter Play Mode
- Trigger a known
event +=and?.Invoke(...)path - Confirm
SUBandINVOKErecords appear