Search Issue Tracker

By Design

Votes

0

Found in

2019.3.0a3

2019.3.0b1

2020.1.0a1

Issue ID

1180843

Regression

Yes

Editor layout becomes completely black when resizing Texture2D.whiteTexture

Scripting

-

To reproduce:
1. Open attached project ("case_1180843.zip")
2. Open "SampleScene" scene and press Play
3. Observe Editor layout

Expected result: Editor layout is unaffected
Actual result: Editor layout becomes completely black

Reproduced in: 2019.3.0a3, 2019.3.0b2, 2020.1.0a3
Not reproducible in: 2017.4.32f1, 2018.4.8f1, 2019.2.4f1, 2019.3.0a2

Note: Restarting the project resets the layout to the default color

  1. Resolution Note:

    It is by design and is caused due to the fact that Editor UI uses the build-in textures (white, black, ...) and after resizing them, texture pixels become undefined (https://docs.unity3d.com/ScriptReference/Texture2D.Resize.html).

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.