Sometimes some FS scripts enables earlier than main FS script causing “null reference” error.(and there seems to be no way knowing what will execute first)
FlowScriptController already has “First activation” enum, which is alright…
But maybe we can add something like “Execution order” enum? (similar to “C# execution order”)
Basically I have some FlowGraphs that initializes whole system, and i want to be able to execute them before any other Flowgraphs.
Hey, sorry for the late reply.
This is an interesting suggestion. I’ve noted this down to see how and if that is possible to implement. However, you could use the different “initialization” calls like OnAwake, OnEnable, and OnStart, so you could initialize the main flowScript in an OnAwake event node, and let other graphs initialize in an OnStart event node. It is not exactly the same as your suggestion, but it may help until I take a look at this 🙂
The next version is planned for January by the way since there are various changes I am working on.