C# - Global class icon is not displayed

Godot Version 4.4 Stable

Question

I want to add an icon for an abstract class, I wrote the code, but for some reason it is not displayed in the list of nodes. What should I do?

using Godot;

namespace Game.Components
{
    [GlobalClass, Icon("res://Components/Component.svg")]
    public abstract partial class Component : Node3D
    {

    }
}

I changed the color of the previous picture and uploaded it again and it displayed. The problem solved itself…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.