View Issue Details

IDProjectCategoryView StatusLast Update
0030249RunnerParticlesPublic2019-01-31 10:15
ReporterDanAssigned ToAlan Savage 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Platform-OSWindows 10OS VersionPro x64
Product Version2.2.1 
Target Version2.2.2Fixed in Version2.2.2 
Summary0030249: Particles: part_system_depth() and deactivated instances in the room can cause issues drawing particles
DescriptionOur 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 Reproduce1. 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.
TagsNo tags attached.
1.4 Found In
2.x Runtime Found In2.2.1.282
2.x Runtime Verified In2.2.2.302



2018-11-27 14:16


pfx bug.yyz (76,024 bytes)

Alan Savage

2018-12-10 14:56

Developer   ~0062201

+ 287871fddbfe744bb5a154933eb5eec41e564c90