AdamsLair/duality

Investigate Bad TilemapCollider Performance in Extreme Cases

开放

#728 创建于 2019年7月1日

 (0 条评论) (0 个反应) (0 位负责人)C# (287 个派生)auto 404
BugCoreHelp WantedPerformanceTilemaps

仓库指标

星标
 (1,425 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南