godotengine / godot

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

GPUParticles2D issue #97213

Open gamecoder-nz opened 2 months ago

gamecoder-nz commented 2 months 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 2 months 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 2 months ago

bug.zip Attached is a small project

gamecoder-nz commented 2 months ago

Opened pull request #97266

4X3L82 commented 1 month ago

Related proposal.