Reply To: Lag when runtime Load

Forums 💬 NodeCanvas ⚙️ Support Lag when runtime Load Reply To: Lag when runtime Load

#18128
Gavalakis
Keymaster

    Hello,

    Thanks for the detailed report.

    Regarding the hideFlags check, it should not be modified in the source code, since it is required for determining whether a graph is bound or not and thus act accordingly (even though this check has already been changed for the next version).

    Deserialization of graphs is obviously having a performance impact due to GC allocation (that can’t be avoided), but there should be no problem if the gameobjects are pre-loaded in load time. Certainly not the same impact as when instantiating and deserializing on-the-fly.
    Are you saying that preloading the gameobjects at load time instead of instantiating them on-the-fly, still occur in a performance impact?

    Let me know.

    (PS: I hope I did not misunderstood your questions)