Godot Version
4.5.1
Question
In this documentation, it says if we delete the path property, it becomes a built-in resource:
I have two questions:
-
I tried doing this but I’m unable to delete it via the inspector.
-
What’s the advantage to changing this texture resource from an external to a built-in one?
You can right click the resource and select “Make Unique” to make it built-in, though the path may say the scene name plus an identifier rather than empty. There is little benefit to making built in resources, images especially balloon in size making for much slower loading times while editing your project.
1 Like
Where do I right-click on the resource to get the “Make Unique” option? I tried right-clicking on it in the inspector as well as in the FileSystem dock but it doesn’t give me the option.
I had to click on this in the inspector:
but it makes all sub-resources unique instead of just one. In this case, it doesn’t matter since there’s only one sub-resource but still.
I can also right-click on the Sprite2D node like this:
and then select this in the inspector:
All of these are roundabout ways to achieve it but I don’t see the right-click option that you mentioned.
What do you mean? Do you mean when they become a built-in resource?
Yes images as built-in resources are huge when saved in a text format such as .tscn or .tres, not much if any reason to make a built in image.
Right clicking or selecting the drop-down to the right of the image in the inspector will bring up a menu with “Make Unique”
1 Like
Oh I see. It’s at the very bottom of the long dropdown. Thanks.