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

uGUI

-

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)

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a5. Added check to make sure activeSprite is not null before checking CanBindTo

  2. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.1f1

  3. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.2f1

  4. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.24f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.