Can't load enum type which is defined in asmdef... WHY?

When I define an enum in an asmdef called ‘Lobby’, the enum type cannot be selected in the fuzz window or in the visual scripting ‘Type Options’. Does this mean that it only supports ‘Assembly-csharp.dll’?

Hello.

First add your namespace (as defined in the asmdef asset) to Project Settings > Visual Scripting > Node Library.

Then click on Generate / Regenerate Nodes. After that, your enum should be accessible from any Script Graph.

hth.

1 Like