So I have made some simple test code that looks like this
[Serializable]
public class A
{
[AssetReferenceUILabelRestriction("MyLabel")]
public AssetReference asset;
}
[Serializable]
public class B : A
{
}
[CreateAssetMenu(fileName = "Container", menuName = "ScriptableObjects/Container", order = 1)]
public class Container : ScriptableObject
{
public A a;
public B b;
public B[] array;
}
Both a and b shows
But the elements in the array (doesn’t matter if it is of type A or B) show all addressables
Is there any way I can fix this or is it a bug?