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

Particles system jitters back & forth when pausing the SceneTree if Engine.time_scale != 1.0 #76056

Closed
razcore-rad opened this issue Apr 14, 2023 · 2 comments

Comments

@razcore-rad
Copy link
Contributor

Godot version

v4.0.2.stable.official [7a0977c]

System information

Ubuntu 22.10, Vulkan, NVIDIA GeForce RTX™ 2060 / NVIDIA GeForce RTX™ 2060

Issue description

The title is self-explanatory, but here's a screen capture code & motion artifacts as well:

Screencast.from.2023-04-14.14-37-44.webm

Steps to reproduce

Engine.time_scale = ts # where `ts != 1.0`
get_tree().paused = true

Through some experimentation I found that setting Engine.time_scale = 1.0 before setting get_tree().paused = true is a workaround for this edge case.

Minimal reproduction project

godot-4-dbg.zip

@MikeFrom
Copy link

MikeFrom commented Apr 14, 2023

when you want to pause (particle) shaders, I think you have to set Engine.time_scale = 0.0.

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

No branches or pull requests

3 participants