You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting the value for my_scene in the Inspector like this:
Makes the custom icon to dissappear in the FileSystem:
Steps to reproduce
create an empty project
create a script extending Resource, give it class_name MyResource and an @icon("res://icon.svg")
make the resource export a PackedScene
create a my_resource_1.tres resource with the script MyResource
create a my_scene.tscn file, with a Sprite2D using an image different than the one used for @icon in the resource (I used this image)
reference this scene in my_resource_1.tres, save
observe the custom icon dissappearing from the FileSystem for my_resource_1.tres
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
z4gon
changed the title
Exporting a PackedScene in a custom Resource makes the custom icon to now show in the FileSystem
Exporting a PackedScene in a custom Resource makes the custom icon to dissappear from the FileSystem
Jun 9, 2024
z4gon
changed the title
Exporting a PackedScene in a custom Resource makes the custom icon to dissappear from the FileSystem
Exporting a PackedScene in a custom Resource makes its custom icon to dissappear from the FileSystem
Jun 9, 2024
Tested versions
System information
macOS Sonoma 14.1.1 - OpenGL API 4.1 Metal - 88 - Compatibility - Using Device: Apple - Apple M1 Pro
Issue description
Given a custom Resource like this:
Setting the value for
my_scene
in the Inspector like this:Makes the custom icon to dissappear in the FileSystem:
Steps to reproduce
script
extendingResource
, give itclass_name MyResource
and an@icon("res://icon.svg")
PackedScene
my_resource_1.tres
resource with the scriptMyResource
my_scene.tscn
file, with aSprite2D
using an image different than the one used for@icon
in the resource (I used this image)my_resource_1.tres
, savemy_resource_1.tres
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: