Open
Conversation
…a where 'd_' defines the dark icon.
Codecov ReportAll modified and coverable lines are covered by tests ✅ @@ Coverage Diff @@
## master #656 +/- ##
=======================================
Coverage 36.05% 36.06%
=======================================
Files 277 277
Lines 34909 34917 +8
=======================================
+ Hits 12588 12593 +5
- Misses 22321 22324 +3
Flags with carried forward coverage won't be shown. Click here to find out more. |
Editor Default Resources/Icons/EditableMesh/EditMeshContext@2x.png.meta
Outdated
Show resolved
Hide resolved
marnadeau
requested changes
Mar 4, 2026
unity-kristinn
requested changes
Mar 9, 2026
Collaborator
Author
Collaborator
Author
@unity-kristinn, it should fixed with 9acc831.
@marnadeau I updated the code so the new styling is applied on 6.5+. Helpbox still has 32px icon in all the previous versions of the Editor. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Purpose of this PR
When using the Editor Light theme, some icons pulled are from the Dark theme. The affected icons are reference throught the
[Icon(icon-path)]attribute so they follow the rule where file paths should be named as following:Probuilder handles the loading and the differentiation between both skins for most icon, by using its own
IconUtility.GetIcon()but it follow differents rules:I've updated the method so we can override for the specific case where the targeted icon is also being used with the
IconAttribute. It's the case for one of the icon where it's in an attribute, but also being loaded through the API.Before:

After:

Links
Jira: UUM-133531
Comments to Reviewers
[List known issues, planned work, provide any extra context for your code.]