Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2019.3.0a1
2019.3.0b2
2020.1.0a1
Issue ID
1188538
Regression
Yes
UIElements Debugger throws NullReferenceException after removing background-image texture
How to reproduce:
1. Create a new project
2. Open UIElements Debugger window (Window->Analysis->UI Elements Debugger)
3. In UIElements Debugger window select any panel from Select a panel dropdown menu
4. Select any element from the opened panels element list
5. In right section click on Show all button
6. Set texture for backgroundImage to anything except "none"
7. Set texture for backgroundImage to none
Expected result: No errors thrown, the texture is set to none
Actual result: NullReferenceException is thrown, the texture isn't removed
Reproducible with: 2019.3.0b6, 2020.1.0a7
Not reproducible with: 2017.4.32f1 (UI Elements debugger not present), 2018.4.10f1, 2019.2.7f2 (different type texture selection button)
Notes: This behavior also reproducible with unity-font
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment