Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time.timeScale = 0 prevents UnitySynchronizationContext.Post #8

Open
DonaldHLG opened this issue Jul 6, 2018 · 1 comment
Open

Comments

@DonaldHLG
Copy link

DonaldHLG commented Jul 6, 2018

I've created this as an issue with Unity, as it is to do with their implementation of the SynchronizationContext; but it appears setting Time.timeScale = 0f delays the continuations being run on Unity's thread until it is increased above 0.

We found this while using the provided new WaitForUpdate/ Awaiters.NextFrame from a background task.

Unity Ticket: 1057404

@StephenHodgson
Copy link

I'm surprised wait for next frame slows down with the timescale.

Not surprised about update slowing and stopping though.

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

No branches or pull requests

2 participants