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
- "Custom Function" Node "Input" type changes do not immediately show mistmatch errors when set to an incompatible type in Shader Graph
- My Assets list is populated with Asset Packages when setting how many Packages to display before clicking the Load button
- Hub shows 6.0 as Latest LTS when opening a project after deleting its 6.3 Editor version
- Localization Group Rules bypasses Locale logic when SharedGroup asset provided
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
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