# [v5.22.36](https://github.com/Anoniomouse/Weakauras2/tree/v5.22.36) (2026-04-19)

[Full Changelog](https://github.com/Anoniomouse/Weakauras2/compare/v5.22.35...v5.22.36)

## Highlights

Fix nil ScanUnitEvents call when entering Edit Mode before WeakAuras fully loads

cacheEmpoweredFrame fires PLAYER_TARGET_CHANGED during EditMode entry
(e.g. via LibEditModeOverride) before GenericTrigger.lua has defined
Private.ScanUnitEvents. Guard the call to avoid the nil error.

## Commits

Anoniomouse (1):

- Fix nil ScanUnitEvents call when entering Edit Mode before WeakAuras fully loads

