AdamsLair/duality

Investigate Bad TilemapCollider Performance in Extreme Cases

Ouverte

#728 ouverte le 1 juil. 2019

 (0 commentaire) (0 réaction) (0 personne assignée)C# (287 forks)auto 404
BugCoreHelp WantedPerformanceTilemaps

Métriques du dépôt

Stars
 (1 425 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

Summary

Tilemap Collider generation is too slow in "extreme" cases, causing micro-freezes during editing and at runtime when editing tilemaps.

How to reproduce

  • Create a simple tileset with two tiles - one fully passable and one fully blocking.
  • Create a new tilemap that is at least 32x32.
  • Edit the tilemap to create a checkerboard pattern of blocking and passable tiles.
  • Profile and check performance while editing.

ex ex (1)

Reported on the chat by user TBDesignes.

Guide contributeur