Closed jejelite closed 3 years ago
Hello, from what I looked it's a limitation of the JSON serialization system implemented in Unity.
Fortunately, I plan to refactor the serialization system with [SerializeReference] instead of JSON to fix a bunch of issues like this one but I need to wait for this issue to be backported in 2019.4 before landing the changes (it should happen within a couples of weeks). I'll update this issue when the refactor lands.
All good, keep up the good work! , for people having the same problem a good workaround is replacing the input by a string representing a id of the ScriptableObject inside a dictionnary<String, YourScriptableObject> and call it from a Monobehavior.
Thanks for the support.
Is it's possible to serialize scriptableObject reference? Everything is working in editor but in a build the variable "AiAction" is null when the node is evaluated.