BT Performance issues with init

Forums 💬 NodeCanvas 🗨️ General Discussion BT Performance issues with init

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13110
    lizhi
    Participant

      <audio style=”display: none;” controls=”controls”></audio>

      #13112
      lizhi
      Participant

        bt 1ooms,no bt 10ms

        #13111
        Gavalakis
        Keymaster

          Hello there,

          Instantiating objects in realtime will naturally have a performance hit because of the object (and the graph it has) being deserialized. However for these situations, you can enabled the “Async” initialization for graphs. To do this, please select your BehaviourTreeOwners that you are instantiating and change the parameters named “First Activation” to be “Async” (instead of “On Enable”). This will make the graphs deserialize and initialize in a separate thread and thus will minimize the performance hit.

          Let me know if that works for you.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.