What to use for custom scriptable object in the type field of object field for object picker?

I’m trying to create a custom inspector window using UI Builder window and I know I need to type in a type name here.

I know for unity built-in classes like Sprite or GameObject I could just use UnityEngine.Sprite and UnityEngine.GameObject.

What do I enter here for a custom scriptable object that I created called ItemData which inherit from ScriptableObject?

Have you tried doing it similar to how Unity does it? So ‘YourNamespace.ItemData’?

I didn’t specify a namespace, is there a default one?

Don’t believe so, but there is a default assembly. I’m assuming just ‘ItemData’ isn’t working?

Yeah, just ItemData isn’t working, and I’ve also tried Assembly-CSharp.ItemData

Admittedly I ran into this issue too. Wanted use this field to try something but there is absolutely no information on how to format the string in here.

Can we can some examples on how to use this, anyone at Unity?

Hi, the full description for the expected format is essentially what the Type.GetType(string) method accepts or what the Type.AssemblyQualifiedName property returns.

In most case you can simply go with something like “MyNamespace.MySOType, MyAssemblyName” and omit the Assembly version number / ID.