View Issue Details

IDProjectCategoryView StatusLast Update
0030350RunnerTilesPublic2021-07-29 14:51
ReporterAlan SavageAssigned ToCoreTech 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ResolvedResolutionSuspended 
Product Version2.2.0 
Target VersionFixed in Version 
Summary0030350: Tiles: Compatibility projects using tile_add() and tile_delete() can exhibit layer leak
Description1.x projects using tile_add / tile_delete can result in leaking of tile layers when imported into GMS2. Since compatibility scripts create new layers but discard the layer id, it becomes difficult to remove unused layers in an efficient manner in the imported project.

Possible solutions could be to create dynamic layers for tile_add compatibility (which would be deleted on removing the last element), or layer_tile_destroy could remove the layer on last element removal ( or an optional parameter to do this )
Steps To ReproduceRun attached GMS2 project, observe rising layer count.
Additional InformationExample project is somewhat contrived, however similar issue is being experienced by users-
see for more details

1.4 Found In
2.x Runtime Found In2.2.1.287
2.x Runtime Verified In


Alan Savage

2018-12-20 16:07


tiletest_import.yyz (270,104 bytes)
tiletest.gmz (20,292 bytes)