Adding Type Options and Node Library from editor script

We have created a couple of private packages for our work that include several custom nodes and scripts that should be accessible from visual scripting. Currently, when adding these packages to a new project, these types are unavailable, even if your namespaces are added to the Node Library.

Our current workaround is to add each script in the Type Options. This is time-consuming, so we wanted to know if there’s a way to do this automatically from an editor script?

Yes its definitely possible by adding manually to the dictionary. I haven’t been active in a long time though so not sure where everything was, if you look in the code you will find the answer. :slight_smile:

Decorating your class with [IncludeInSettings(true)] and regenerating nodes should automatically include custom types. If this is not the case, Unity have broken something and a bug report is likely in order.