Search Issue Tracker

Fixed

Votes

2

Found in [Package]

0.9.0-preview

Issue ID

LOC-136

Regression

Yes

[Localization] LocalizeSpriteEvent throws InvalidCastException when Table Collection with Sprite is Preloaded

Package: Localization

-

Reproduction steps:
1. Open users attached project and Scenes/SampleScene scene
2. Enter the Play mode
3. Observe the Game view and Console window

Expected result: Sprite is loaded successfully and Image is rendered
Actual result: InvalidCastException appears in the Console window and Image is not rendered

Reproducible with: 0.9.0-preview(2019.4.17f1, 2020.1.17f1, 2020.2.1f1, 2021.1.0a10)
Not reproducible with: 0.8.0-preview - 0.8.1-preview(2019.4.17f1, 2020.1.17f1, 2020.2.1f1, 2021.1.0a10)
Could not test with: 2018.4.29f1(Could not downgrade)

Notes:
1. It Is not reproducible when Localization Table Collection is not preloaded
2. The error:
"InvalidCastException: Could not convert asset of type Texture2D to Sprite."

  1. Resolution Note:

    Fixed as part of LOC-143

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.