-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Unity Version: 6000.0.53f1
Package installed from the Package Manager via git URL: https://github.com/leth4/Colorlink.git
Issue:
When opening the Palette window for the first time, I encountered the following exception in the console:
Unable to load the icon: 'd_winbtn_win_close'.
Note that either full project path should be used (with extension) or just the icon name if the icon is located in the following location: 'Assets/Editor Default Resources/Icons/' (without extension, since png is assumed)
UnityEditor.EditorGUIUtility:IconContent (string)
Colorlink.PaletteEditor:DrawColorGroup (Colorlink.ColorGroup) (at ./Library/PackageCache/com.leth.colorlink@b81657d9d900/Editor/PaletteEditor.cs:158)
Colorlink.PaletteEditor:OnGUI () (at ./Library/PackageCache/com.leth.colorlink@b81657d9d900/Editor/PaletteEditor.cs:39)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
As a result, the close button icons are missing, which can be seen in the attached screenshot below.
Additional context:
- Project created from the 2D URP template via Unity Hub 3.14.0.
- Scene and domain reloads are turned off.
- Issue is reproducible after restarting the editor.
- Other editor tools are installed, but it is unlikely they remove these resources.
- Windows 11, version 10.0.26100.
- Using default Unity .gitignore from GitHub Desktop.
- Found a similar issue that might be relevant: JetBrains YouTrack RF-515.
Proposal:
Include all required visual assets (like the close button icons) directly with the package instead of relying on them being present in the Unity editor by default. This approach prevents issues like this one, especially if Unity changes how internal icons are stored in future versions.
Metadata
Metadata
Assignees
Labels
No labels