Skip to content

Particles emit by GPUParticles2D disappear when tree is paused #83258

@tivec

Description

@tivec

Godot version

v4.2.beta1.official [b137180]

System information

Godot v4.2.beta1 - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1660 Ti (NVIDIA; 31.0.15.3699) - AMD Ryzen 7 4800H with Radeon Graphics (16 Threads)

Issue description

GPUParticles2D that have process mode set to PROCESS_MODE_PAUSABLE disappear when the tree is paused (using get_tree().paused = true). The entire particle system restarts when the tree is then unpaused (with get_tree().paused = false). as seen in this video.

Godot_v4.2-beta1_win64_emFP32bwDg.mp4

Expected result is for the particles to stop moving and resume their velocity when the system is unpaused.

Steps to reproduce

  • Open the attached reproduction project
  • Open test_scene.tscn and run the scene.
  • Observe how both particle systems are playing properly
  • Press space bar to pause the game and observe that the particles of the left particle system disappear.
  • Press space bar again to unpause, and observe how the left particle system restarts emission.

Minimal reproduction project

GPUParticlesTest.zip

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions