AdamsLair/duality

Investigate Bad TilemapCollider Performance in Extreme Cases

Offen

#728 geöffnet am 01.07.2019

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (287 Forks)auto 404
BugCoreHelp WantedPerformanceTilemaps

Repository-Metriken

Stars
 (1.425 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide