UNI022: async void method
What and why
async void method (excluding Unity message methods and event handlers). Exceptions are not observable by callers; in Unity they surface only in the log (silent failure).
async void exceptions are not observable by callers; in Unity they may fail silently.
How to fix: return Task/Task<T>; reserve async void for event handlers only.
Fix guidance
Return Task or Task
Tags
reliability, async
Suppression
Use // unilyze-disable-next-line UNI022 -- reason immediately before the reported line.
These detector findings are line-based, so separate overload occurrences can be suppressed independently.
For project-wide suppression, use "rules": { "UNI022": "off" }; use a baseline to freeze existing findings while reporting new ones.