Search Issue Tracker

Fixed in 2021.2.X

Votes

1

Found in

2020.3.10f1

2021.1.3f1

2021.1.20f1

Issue ID

1365559

Regression

Yes

Material Inspector of Sprite throws "Assertion failed" exceptions when SpriteAtlas V1 is in use

Inspector Framework

-

How to reproduce:
1. Open the user's attached project
2. Open scene AltasTest
3. Make sure that Sprite Packer Mode is set to "Sprite Atlas V1 - Always Enabled" in the Project Settings (Edit -> Project Settings -> Editor -> Sprite Packer -> Mode)
4. Press the Play button
5. Observe the Console
6. In the Hierarchy window, select the GameObject "01_Meteor0009"
7. In the Inspector view, expand the Material Inspector of the Sprites-Default Material by clicking the triangle icon next to the Component name
8. Observe the Console

Expected result: no exceptions are thrown to the Console
Actual result: "Assertion failed on expression: 'request.key.guid.IsValid()'" is thrown to the Console

Reproducible with: 2020.3.10f1, 2020.3.18f1, 2021.1.3f1, 2021.1.22f1
Not reproducible with: 2019.4.30f1, 2020.3.9f1, 2021.1.2f1, 2021.2.0a1, 2021.2.0b12, 2022.1.0a9

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a1

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.