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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a1