Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
0
Found in
2019.4
2019.4.18f1
2020.2
2021.1
2021.2
Issue ID
1310284
Regression
No
SpriteAtlas Exception in uGUI's binding code
Reproduction steps:
1. Open attached project "AtlasCanBindToRepro.zip" and scene "SampleScene"
2. Enter Play Mode
3. In Game View, press the "Do Test" button
4. In Game View, observe "RuntimeImage" GameObjects
5. Observe Console window
Expected result: No errors, "RuntimeImage" GameObjects' Image components are populated with a sprite texture
Actual result: "Sprite Atlas : Exception triggering <...>" error, "RuntimeImage" GameObjects' Image components are not populated with a sprite texture
Reproducible with: 2019.4.19f1, 2020.2.3f1, 2021.1.0b5, 2021.2.0a3
Could not test with: 2018.4.31f1 (missing script errors)
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
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a5. Added check to make sure activeSprite is not null before checking CanBindTo
Resolution Note (fix version 2021.1):
Fixed in 2021.1.1f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.2f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.24f1