Search Issue Tracker

By Design

Votes

0

Found in

2021.3.38f1

2022.3.29f1

6000.0.2f1

Issue ID

UUM-71937

Regression

No

The "Compress Tilemap Borders" function is not working when used via the Context Menu or through Script

--

-

How to reproduce:
1. Open the attached “IN-74639.zip” Project
2. Open the “SampleScene”
3. Expand the “Grid” Game Object in the Hierarchy and select the “Tilemap” Game Object
4. Press the Kebab Button of the “Tilemap” Component in the Inspector Window
5. Press the “Compress Tilemap Bounds” Button
6. Observe the Scene View

Expected result: The “Tilemap” GameObject is aligned or compressed with the “Grid” GameObject borders
Actual result: Nothing of note happens

Reproducible with: 2021.3.38f1, 2022.3.29f1, 6000.0.2f1

Reproduced on: Windows 11
Not reproduced on: No other environment tested

Note: Reproducible on a New Project

  1. Resolution Note:

    The Rect tool shows the bounds of the Tilemap based on the Grid spaces used by Tiles. It does not show the bounds of what is rendered by the TilemapRenderer which are smaller than or equal to the Grid spaces used (smaller in this case).

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.