Skip to content

[UniTask] Inject Player Loop Systems using PlayerLoopHelper.Init - #1

Open
ozen-m wants to merge 1 commit into
Tylevo:mainfrom
ozen-m:main
Open

ozen-m wants to merge 1 commit into
Tylevo:mainfrom
ozen-m:main

Conversation

@ozen-m

@ozen-m ozen-m commented Sep 18, 2026

Copy link
Copy Markdown
  • Previously used PlayerLoopHelper.Initialize does not capture the default(unity) sync-context/mainThreadId used by UniTask
  • Switch to prefix to include and confirm UniTask's loop in debug output
  • Reorder UniTask PlayerLoop order relative to EFT's Custom PlayerLoop, EFT's Custom loop now comes in before and after UniTask's
  • Additional logging on fail

Calling PlayerLoopHelper.Init via reflection should not fail unless the signature is changed on a future UniTask update, or the assembly failed to load. The additional logging is for posterity.

Previously used PlayerLoopHelper.Initialize does not capture the default(unity) sync-context/mainThreadId used by UniTask
Switch to prefix to include and confirm UniTask's loop in debug output
Fix EFT PlayerLoop order relative to UniTask
Add logging
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.

1 participant