diff --git a/Assets/Klak/Hap/Runtime/HapPlayer.cs b/Assets/Klak/Hap/Runtime/HapPlayer.cs index 0eb5c42..c7efa5c 100644 --- a/Assets/Klak/Hap/Runtime/HapPlayer.cs +++ b/Assets/Klak/Hap/Runtime/HapPlayer.cs @@ -281,7 +281,7 @@ void LateUpdate() } // Time clamping - var t = _loop ? _time : Mathf.Clamp(_time, 0, duration); + var t = _loop ? _time : Mathf.Clamp(_time, 0, duration - 1e-4f); // Determine if background decoding is available. // Resync shouldn't happen. Not preferable in edit mode.