Skip to content

Fixes InvalidOperation Exceptions, and other race conditions#581

Open
Toys0125 wants to merge 2 commits intoBasisVR:developerfrom
Toys0125:Job-sync-fix
Open

Fixes InvalidOperation Exceptions, and other race conditions#581
Toys0125 wants to merge 2 commits intoBasisVR:developerfrom
Toys0125:Job-sync-fix

Conversation

@Toys0125
Copy link
Contributor

@Toys0125 Toys0125 commented Mar 7, 2026

  • Always complete/apply remote face jobs in render callback, even when local player isn’t ready: BasisEventDriver.cs:231, BasisEventDriver.cs:234
  • Chain remote face scheduling to prior handle: BasisRemoteFaceManagement.cs:93
    • Remote players' face animations should update independently of local player readiness.
  • Chain SteamAudio gather jobs to prior frame and complete pending gather jobs before early returns/resizes/dispose: SteamAudioManager.cs:552, SteamAudioManager.cs:580, SteamAudioManager.cs:1016, SteamAudioManager.cs:1032, SteamAudioManager.cs:1055
  • Harden uLipSync buffer/job sequencing (complete stale job before reschedule, lock buffer swap/write): BasisUlipSync.cs:55, BasisUlipSync.cs:144, BasisUlipSync.cs:164, BasisUlipSync.cs:451, BasisUlipSync.cs:460

* Always complete/apply remote face jobs in render callback, even when local player isn’t ready: BasisEventDriver.cs:231, BasisEventDriver.cs:234
* Chain remote face scheduling to prior handle: BasisRemoteFaceManagement.cs:93
* Chain SteamAudio gather jobs to prior frame and complete pending gather jobs before early returns/resizes/dispose: SteamAudioManager.cs:552, SteamAudioManager.cs:580, SteamAudioManager.cs:1016, SteamAudioManager.cs:1032, SteamAudioManager.cs:1055
* Harden uLipSync buffer/job sequencing (complete stale job before reschedule, lock buffer swap/write): BasisUlipSync.cs:55, BasisUlipSync.cs:144, BasisUlipSync.cs:164, BasisUlipSync.cs:451, BasisUlipSync.cs:460
@dooly123
Copy link
Collaborator

dooly123 commented Mar 7, 2026

There is some fundamental we dont need todo it like this,

just complete it if its not completed early next frame, does not require all of this pain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants