godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
86.4k stars 19.24k forks source link

Particles and tilemap tres animations do not stop during debug #41582

Open chucklepie opened 3 years ago

chucklepie commented 3 years ago

Godot version: 3.2.2 stable

OS/device including version: linux mint 64bit

Issue description: When you pause a game and enter debug mode, two things happen to particles and tres tilemap animated tiles:

  1. particles still run but at about 5% of normal speed
  2. tilemap sprites with a tres animation continue to run at normal speed, they are not paused
  3. if you create an animated sprite using the same tres file, it stops fine, so only in tilemaps

Steps to reproduce:

  1. create some particles
  2. create an animated tileset tile
  3. run program and debug

Minimal reproduction project: I can if required, or create a video

Calinou commented 3 years ago

@chucklepie Please upload a minimal reproduction project to make this easier to troubleshoot.

chucklepie commented 3 years ago

Hello, I certainly can, take your pick from your clone of choice :)

  1. Run the scene
  2. Press the pause button

Note:

  1. The particle system slows down but does not stop
  2. The tilemap tile using the TRES file does not stop (cyan), they continue at full speed
  3. The large 'AnimatedSprite' using the TRES file stops (black)

git clone git@gitlab.com:chucklepie-productions/games/godot-bug-reporting/debug_anims_continue.git

git clone https://gitlab.com/chucklepie-productions/games/godot-bug-reporting/debug_anims_continue.git

Note, these may be linked to proposal https://github.com/godotengine/godot-proposals/issues/942

hawkerm commented 1 year ago

I'm on v4.1.beta2.mono.official [a2575cba4] and noticing what sounds similar to this with the GPUParticles2D node.

When I pause, it initially appears to be fine, but after a bit of time the particles start to move and spin out of control.

Happens whether I'm running from the editor or if I'm running as a compiled release mode executable.