Search Issue Tracker

Fixed in 2021.2.X

Votes

0

Found in

2019.3.0b2

2019.4.17f1

2020.1.0a2

2020.2

2021.1

2021.2

Issue ID

1314326

Regression

Yes

Crash on TilemapCollider2D::PrepareShapes when enabling a broken Tilemap

2D

-

Reproduction steps:
1. Open the attached project "1314326"
2. Open scene "Game"
3. In the Inspector, select "Tilemaps" > "Ground" and enable the Game Object
-- observe crash

Reproducible with: 2019.3.0b2, 2019.4.20f1, 2020.1.0a2, 2020.1.17f1, 2020.2.6f1, 2021.1.0b8, 2021.2.0a6
Not reproducible with: 2018.4.32f1, 2019.3.0b1, 2020.1.0a1

Note:
- Assertion failed on expression: 'spriteIndex < tileSpriteArray.size()' is printed in the Editor log right before the crash

- Issue might not have regressed in 2019.3.0b2 and 2020.1.0a2 exactly. With 2019.3.0b1 and 2020.1.0a1, the project crashes when trying to open it with the following stack trace:
0x00007FF75B822863 (Unity) AllowImportingV2
0x00007FF75ADBC94C (Unity) Application::InitializeProject
0x00007FF75B6F8AA8 (Unity) WinMain
0x00007FF75E6E6C72 (Unity) __scrt_common_main_seh
0x00007FF8C6CE7034 (KERNEL32) BaseThreadInitThunk
0x00007FF8C7B9D241 (ntdll) RtlUserThreadStart

- With 2018.4, 2019.2 no crashes occur when working with the affected Scene

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a8

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.