godotengine / godot

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

GPU Particles 2D UI bug when trail is at limit #92708

Open rokn opened 4 months ago

rokn commented 4 months ago

Tested versions

System information

MacBook Pro m3

Issue description

After playing around with GPU Particles 2D and their trails I managed to break the Godot UI in some pretty interesting way:

https://github.com/godotengine/godot/assets/4174764/2156cc76-ca5f-4da8-93bb-f0b5e583e31f

The breaking seems to be coming after setting the lifetime of the trail to 0.01(or less than that as it just jumps back to it)

Steps to reproduce

  1. Download the MRP
  2. Open the scene
  3. Start toggling the Trails -> Enabled property of the particle system

Minimal reproduction project (MRP)

https://github.com/rokn/GodotParticleTest

JekSun97 commented 4 months ago

I tested your project on Windows 10, no such problem arose.

Could you give the exact system requirements of your device, you can do this in the editor using the menu "Help -> Copy System Info"

rokn commented 4 months ago

Godot v4.2.1.stable - macOS 14.1.0 - Vulkan (Forward+) - integrated Apple M3 Pro - Apple M3 Pro (11 Threads)

AThousandShips commented 4 months ago

@rokn Can you test on 4.2.2? This might have already been solved

rokn commented 4 months ago

Nope, same on 4.2.2

image