AdamsLair/duality

Investigate Bad TilemapCollider Performance in Extreme Cases

Open

#728 opened on Jul 1, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C# (287 forks)auto 404
BugCoreHelp WantedPerformanceTilemaps

Repository metrics

Stars
 (1,425 stars)
PR merge metrics
 (PR metrics pending)

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.

Contributor guide