Cysharp / Cysharp/UniTask

[Question] Yield FixedUpdate And Update

Open
#678 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
11.2k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Why is it that when setting FixedUpdate and Update to different frame rates, the execution time of await UniTask.Yield(PlayerLoopTiming.FixedUpdate) and await UniTask.Yield(PlayerLoopTiming.Update) is the same? It seems to rely on the Update frame rate.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported behavior with different Unity FixedUpdate and Update frame rates, using await UniTask.Yield(PlayerLoopTiming.FixedUpdate) and await UniTask.Yield(PlayerLoopTiming.Update). Trace how each PlayerLoopTiming is scheduled and compare the observed execution intervals. Done means explaining whether the matching timing is expected or identifying the scheduling behavior that needs correction.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.