Skip to content

fix: Carry MicroThread's execution context during BepuSim's NextUpdate and AfterUpdate#3092

Open
Eideren wants to merge 1 commit intostride3d:masterfrom
Eideren:bepu_simctxt
Open

fix: Carry MicroThread's execution context during BepuSim's NextUpdate and AfterUpdate#3092
Eideren wants to merge 1 commit intostride3d:masterfrom
Eideren:bepu_simctxt

Conversation

@Eideren
Copy link
Collaborator

@Eideren Eideren commented Mar 16, 2026

PR Details

Within a micro thread's execution, await NextUpdate() won't carry its execution context - if you then run await Task.Run(... this asynchronous method will resume on a threadpool thread.

Related Issue

None

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have built and run the editor to try this change out.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant