AdamsLair/duality

Investigate Bad TilemapCollider Performance in Extreme Cases

Aperta

#728 aperta il 1 lug 2019

 (0 commenti) (0 reazioni) (0 assegnatari)C# (287 fork)auto 404
BugCoreHelp WantedPerformanceTilemaps

Metriche repository

Star
 (1425 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor