Search Issue Tracker

By Design

Votes

0

Found in

2021.3.44f1

2022.3.50f1

6000.0.23f1

Issue ID

UUM-84214

Regression

No

Every GUIContent.none in the Editor is affected when setting GUIContent.none properties

--

-

How to reproduce:
1. Open the attached project "IN-85595.zip"
2. Open Assets/Scenes/SampleScene.unity
3. Select "GameObject" in the Hierarchy window

Expected results: Not every label in the Editor that is GUIContent.none is set to "Test"
Actual results: Every label in the Editor that is GUIContent.none is set to "Test"

Reproducible with: 2021.3.44f1, 2022.3.50f1, 6000.0.23f1

Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested

  1. Resolution Note:

    Despite it being writable, you should not be writing to GUIContent.none. Odin needs to fix how it's passing this around or a copy has to be made.

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.