View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0030249||Runner||Particles||Public||2018-11-27 14:16||2019-01-31 10:15|
|Reporter||Dan||Assigned To||Alan Savage|
|Priority||Medium||Severity||C - General||Reproducibility||100%|
|Platform||-||OS||Windows 10||OS Version||Pro x64|
|Target Version||2.2.2||Fixed in Version||2.2.2|
|Summary||0030249: Particles: part_system_depth() and deactivated instances in the room can cause issues drawing particles|
|Description||Our recent fixes for instances changing depth/layers need to be replicated for particles also, as currently particles can fail to draw properly after changing depths in some circumstances.|
When using a depth-sorted particle system whose depth is being updated every frame, the partsys will fail to draw for a frame. The bug only occurs with part_system_depth() and only when there are deactivated instances in the room.
In attached project, move with arrow keys and create/destroy the particle effect with space. obj_grass is spawned by obj_grass_spawner to the right of the screen and is deactivated. Repro is to create the particle effect and move up/down the screen - the particle effect will flicker.
|Steps To Reproduce||1. Start GMS2 and import the attached sample.|
2. Run it for Windows.
3. Press spacebar once to start the particles.
4. Now use arrow keys to move around the screen (best repro comes with going around the edges).
5. Observe that the particles will occasionally fail to draw, giving flickering.
Repro: Very easy to achieve with this sample.
|Tags||No tags attached.|
|1.4 Found In|
|2.x Runtime Found In||126.96.36.1992|
|2.x Runtime Verified In||188.8.131.522|