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
- Shadows are not cast when the Light's CullingMask and the GameObject's Layer do not match
- Graphics.DrawMeshInstanced does not work when 2D Renderer and 2D Shaders are used
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a1