godotengine / godot

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

GPUParticles2D issue #97213

Open gamecoder-nz opened 1 month ago

gamecoder-nz commented 1 month ago

Tested versions

Godot Engine v4.3.stable.official.77dcf97d8

System information

Windows 10 OpenGL API 3.3.0 - Build 31.0.101.4887 - Compatibility - Using Device: Intel - Intel(R) UHD Graphics

Issue description

If you set Emitting to true and One shot to true then this will set the emitter running and then sets the Emitting to false when it's finished. This results in the particle emitter not running when the emitter's scene is instantiated into the game

Steps to reproduce

  1. Create a scene with a GPUEmitter2D
  2. Set the Emitter to true and One shot to true
  3. Instantiate the explosion scene into the main game

Minimal reproduction project (MRP)

NA

AThousandShips commented 1 month ago

Please upload an MRP to make this easier to test and see any details of your setup that might not be clear from your description

gamecoder-nz commented 1 month ago

bug.zip Attached is a small project

gamecoder-nz commented 1 month ago

Opened pull request #97266

4X3L82 commented 1 month ago

Related proposal.