[BUG] StartGraph should have been called in play mode only

Forums 💬 NodeCanvas ⚙️ Support [BUG] StartGraph should have been called in play mode only

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #16389
    sarper
    Participant

      Unity 2018.4.21f1 and Nodecanvas v3.05

      When I exit play mode in the editor I get the below error and stack trace 4 times, they are all identical. I just have a single BehaviorTreeOwner in the scene and I don’t call StartGraph anywhere.

      #16394
      Gavalakis
      Keymaster

        Hello,

        Sorry for the late reply, but it seems I’ve missed your post :/

        Can you please post the graph for me here? It looks like you are using SubGraphs. Can you please confirm whether or not the errors take place only when you exit play mode when a SubGraph is running, or it always takes place?

        Thank you.

        #16393
        sarper
        Participant

          Hi,

          It’s alright. The graph is scene bound, how can I isolate it and send it here without saving it as an asset? Or do you mean send a screenshot?

          It doesn’t happen when sub-graphs are disabled from the tree.
          It also doesn’t happen if I un-check the “Repeat” bool from the Behavior Tree Owner inspector even when sub-trees are enabled. Guess since they complete running before I exit the play-mode they don’t cause a problem.

          #16392
          sarper
          Participant

            You probably meant the bt file, it’s very incomplete btw I’ve been just scaffolding a new behavior. attached.

            #16391
            sarper
            Participant

              bump

              #16390
              Gavalakis
              Keymaster

                Hello again and sorry for the late reply. I have answered to your email regarding this error. For your convenience, this was my answer to that email.

                “Please note that this error when exiting playmode does not really create any unwanted behaviours and you can generally ignore it (unless you see it not only when exiting playmode). Of course, it is still an error and I have to fix it, but it bothers you that it gets in the way, You can quickly remove the assert that throws that error (or I can send you that quickfix myself).”

                Thank you and please excuse the late reply.

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