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
- OnPostprocessAllAssets() is not called for a modified Prefab when another Asset is set Dirty in the same callback
- [Android] UIToolkit ClickEvent is fired when the device is rotated
- Compilation errors occur when "uintBitsToFloat(int)" gets used in OpenGLES
- User Reporting does not send reports when Managed Stripping Level is set to Low or higher
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is thrown when launching a project with a corrupted library
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