Search Issue Tracker

Active

Under Consideration for 6000.5.X

Votes

0

Found in

6000.0.70f1

6000.3.11f1

6000.4.0b12

6000.5.0a8

Issue ID

UUM-137146

Regression

Yes

Scripts do not have a changed icon in the Project and Inspector windows when using IconAttribute

Unity Documentation

-

Steps to reproduce:
1. Open the attached “IN-135694.zip” project
2. Navigate to the Project window
3. Observe the “NewMonoBehaviourScriptr.cs” and the “NewScriptableObjectScript.cs” assets

Actual result: Their icon is set to the default script file icon
Expected result: Their icon is set to “distance_lod.png”

Reproducible with: 2023.3.0b3, 6000.0.70f1, 6000.3.11f1, 6000.4.0b12, 6000.5.0a8
Not reproducible with: 2023.3.0b2

Reproducible on: macOS Sequoia 15.7.3 (M1 Max)
Not reproducible on: No other environments tested

Workaround: Setting it manually by pressing on their icon on the top left of the Inspector

Note: ScriptableObjects created by the script have their icon set

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.