Hey there! We’re experiementing with visual scripting for our project in Unity.
We’re using Unity 2021.3.5f1 and Visual Scripting 1.7.8
We’re having an issue where enums that are created in a custom assembly is not exposed and visible in the visual scripting environment. The Assembly is included, all nodes have been regenerated, and other types in the assembly is visible and accessible. I can make it accessible by moving the enum to the default unity assembly, but not otherwise.
I can’t find any material online regarding this behaviour, has anyone had similar experiences and issues?
I suspect something similar, that there might be a bug or difference in behaviour in VisualScripting’s reflection routine that misses enums when they are part of an assembly.
We’ve separated out our project into separate assemblies to clarify some codebase bounderies and improve recompile times. As far as i’m aware it’s a pretty standard and recommended approach to Unity development.
I was able to try a public enum in an assembly and everything work in Visual Scripting package 1.7.6. haven’t tried in 1.7.7 or other versions. This is how it look like on my side.