Gentlymad-Studios / NewGraph

A general node graph solution centered on data management. This is based on the idea to visualize complex data structures as graph networks without having to modify already established data classes.
MIT License
235 stars 17 forks source link

Is it possible to use ScriptableObjects as Nodes? #41

Open akatriel opened 7 months ago

akatriel commented 7 months ago

I received an error that SerializeReference cannot be applied to ScriptableObjects. But it seems like Unity's serialization system is used, under the hood.

akatriel commented 7 months ago

The error received is: Fields with [SerializeReference] cannot serialize objects that derive from Unity.Object, in this case: Assembly-CSharp Assets.Scripts.MyCustomClass