Search Issue Tracker

Fixed in 2020.2.X

Votes

0

Found in

2019.3.0a8

2020.1

2020.2

2020.2.0a14

Issue ID

1254071

Regression

Yes

[Tilemap] Assertion failed exception thrown on Undo action after removing Tilemap and TilemapRenderer component

Asset Import Pipeline

-

Assertion failed exception thrown on Undo action after removing Tilemap and TilemapRenderer component after creating the prefab of the Tilemap

Steps to Repro:
1. Create a new Project
2. Install 2D Tilemap package from Package Manager
3. Hierarchy > right-click > 2D > Tilemap
4. Create prefab of the Grid > Tilemap
5. Remove Grid > Tilemap > Inspector > Tilemap Renderer and Tilemap
6. Hierarchy > Grid > Tilemap > Override > Apply All
6. Delete Project > Tilemap
7. Ctrl + Z > 4 - 5 times

Expected Result:
Tilemap should be deleted and no error should come

Actual Result:
"Assertion failed on expression: 'it->second.IsValid()'
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()" exception thrown

Reproducible on: 2020.2.0a14, 2020.1.0b12, 2019.3.16f1, 2019.3.0f1

Working fine on: 2019.3.0a7, 2019.2.21f1, 2018.4.23f1

Environment: Windows 10

Stack Trace:
Assertion failed on expression: 'it->second.IsValid()'
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()

GetLoadedImportedAssetsAndArtifactIDs called with invalid artifactID
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()

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.