WaitForBuiltInQueueFlush()
Forcefully wait for any commands created on _builtIn or on any derivative objects to have taken effect.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
public static void WaitForBuiltInQueueFlush()
Remarks
Normally this happens automatically over time. This should only be used in exceptional scenarios (because it mostly likely stalls for a while) or for deterministic testing.