Search Issue Tracker

Fixed in 2018.3.X

Votes

0

Found in

2018.2.8f1

Issue ID

1090111

Regression

No

Crash on Tilemap::CompressBounds when calling Tilemap.CompressBounds() on corrupted tilemap

2D

-

How to reproduce:
1. Open the "Tilemap_Bounds_Crash.zip" project
2. Open the "CrashScene.unity' scene
3. Press Play

Actual result: Unity crashes

Reproducible with: 2019.1.0a9, 2018.3.0b10, 2018.2.16f1, 2018.1.9f2, 2017.4.15f1.

Notes:
Sometimes Unity may crash while importing/refreshing assets (the issue is already reported).
The crash is caused when calling Tilemap.CompressBounds for corrupted "Wall" tilemap.
The "Wall.prefab" tilemap causes an error: Assertion failed on expression: 'spriteIndex < tileSpriteArray.size()'.

------------------------------------

Fixed in 2019.1.0a13, 2018.3.4f1.

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.