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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a1