Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.1.X, 2021.2.X

Votes

0

Found in

2021.1

Issue ID

1364578

Regression

Yes

[UIR] VisualElement drawn with a destroyed texture throws exception

UI Toolkit

-

Repro steps:
1. Add a visual element with a texture to a panel (not an asset)
2. Repaint the panel
3. Destroy the texture
4. Repaint the panel

Expected result: Does not throw an exception
Actual result: Throws an exception

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a10

  2. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0b15

  3. Resolution Note (fix version 2021.1):

    Verified in 2021.1.26f1

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.