Search Issue Tracker

Fixed in 2020.1.X

Votes

0

Found in

2020.1.0a3

Issue ID

1193970

Regression

No

[2D] "Invalid targetHash" and "Assertion failed" error messages when deleting packed atlases

Asset - Database

-

"Invalid targetHash" and "Assertion failed" error messages when deleting packed atlases

Error messages occur when atlases are packed, playmode is started then stopped and an atlas is deleted.

Repro steps:
1. Open attached project
2. Open "SampleScene" if it is not open
3. Start and stop playmode
4. Delete an atlas under Assets > Atlases
5. Observe errors:
GetLoadedImportedAssetsAndTargetHashes called with invalid targetHash
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Assertion failed on expression: 'it->second.IsValid()'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Expected Result: No error messages are displayed when atlases are deleted
Actual Result: Error messages are displayed when atlases are deleted

Reproducible with:
Version 2020.1.0a3 (66e2a8618a73)

  1. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a24

Comments (11)

  1. atr0phy

    Apr 17, 2020 06:43

    Pretty sure this isn't fixed. In v2020.1.0b5.3485, simply creating a new HDRP project throws this error as soon as the sample scene loads.

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.