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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Add comment