Search Issue Tracker

In Progress

Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X, 6000.3.X

Votes

0

Found in

2022.3.63f1

6000.0.51f1

6000.1.7f1

6000.2.0b5

Issue ID

UUM-109125

Regression

No

Crash on Tilemap::GetTileAsset when calling Tilemap.GetTile() in new RefreshTile() method for TileBase class

-

How to reproduce:
1. Open the attached “IN-101725_TileBaseCrash.zip” project
2. Create a “TBTest” asset by right clicking in the Project Window → Create → TBTest
3. Open the Tile Palette window (Window → 2D → Tile Palette)
4. Open the existing “TPTest” Tile Palette or create a new one
5. Drag the created “TBTest” asset onto the Tile Palette grid
6. Observe the crash

Reproducible in: 2022.1.0a1, 2022.3.63f1, 6000.0.51f1, 6000.1.7f1, 6000.2.0b5

Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested

First few lines of stacktrace:

{noformat}0x00007FF84EE477FE (Unity) Tilemap::GetTileAsset
0x00007FF84D9AB39B (Unity) Tilemap_CUSTOM_GetTileAsset
0x000001A4CD80E7F8 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Tilemaps.Tilemap:GetTileAsset_Injected (intptr,UnityEngine.Vector3Int&)
0x000001A4CD80E64B (Mono JIT Code) UnityEngine.Tilemaps.Tilemap:GetTileAsset (UnityEngine.Vector3Int)
0x000001A4CD80E42B (Mono JIT Code) UnityEngine.Tilemaps.Tilemap:GetTile (UnityEngine.Vector3Int){noformat}

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.