File tree Expand file tree Collapse file tree
Basis/Packages/com.basis.eventdriver Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -547,12 +547,6 @@ private void LateUpdateBody()
547547 {
548548 BasisRemoteAudioDriver . Apply ( ) ;
549549 }
550- #if STEAMAUDIO_ENABLED
551- using ( Prof . SteamAudioApply . Auto ( ) )
552- {
553- SteamAudioManager . Apply ( ) ;
554- }
555- #endif
556550 ProfileEnd ( PROF_REMOTE_AUDIO_APPLY ) ;
557551
558552 try
@@ -770,11 +764,19 @@ private void OnBeforeRenderBody()
770764
771765 ProfileBeforeRenderInit ( ) ;
772766
767+ #if STEAMAUDIO_ENABLED
768+ using ( Prof . SteamAudioApply . Auto ( ) )
769+ {
770+ SteamAudioManager . Apply ( ) ;
771+ }
772+ #endif
773+
773774 if ( BasisLocalPlayer . PlayerReady )
774775 {
775776 try { using ( Prof . SimulateOnRender . Auto ( ) ) BasisLocalPlayer . Instance . SimulateOnRender ( ) ; }
776777 catch ( Exception ex ) { BasisDebug . LogErrorOnce ( $ "BasisEventDriver.SimulateOnRender failed: { ex } ", BasisDebug . LogTag . Event ) ; }
777778
779+
778780 try { using ( Prof . EyeTrackingSimulate . Auto ( ) ) Basis . Scripts . Device_Management . EyeTracking . BasisEyeTrackingManager . Simulate ( ) ; }
779781 catch ( Exception ex ) { BasisDebug . LogErrorOnce ( $ "BasisEventDriver eye-tracking simulate failed: { ex } ", BasisDebug . LogTag . Event ) ; }
780782
You can’t perform that action at this time.
0 commit comments