[Major Bug] Using nested dialogue trees causes Unity editor to freeze

Forums 💬 NodeCanvas ⚙️ Support [Major Bug] Using nested dialogue trees causes Unity editor to freeze

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #16416
    cherrysock
    Participant

      So, I just found out, that if you put a nested dialogue tree as the last node in another dialogue tree, the Unity editor just freezes when the tree finishes. I had to use task manager to stop it.

      [attachment file=”Buggy tree.JPG”]

      But if there is at least one more node after the nested tree, it works without issues:

      [attachment file=”Good tree.JPG”]

      Here is a sample project: [DELETED LINK]

      Unity version: 2019.3.7f1

      NodeCanvas: 3.0.3f1

      #16421
      Gavalakis
      Keymaster

        Hello,
        Thank you for the bug report. I can confirm and currently looking at this. I will update you here once I have a fix.
        (PS: Please don’t post links that include the whole NodeCanvas package).

        Thanks.

        #16420
        cherrysock
        Participant

          Any news?

          It’s getting really annoying to deal with this issue.

          #16419
          Gavalakis
          Keymaster

            Hello there,

            Yes, this is fixed (sorry for no updating the thread). To fix this, please up up Graph.cs and change lines # 612 – 620:

            From this:

            To this:

            The change is basically moving the isRunning and isPaused sets before the onFinish callback is called.

            Please let me know if that works for you.
            Thank you.

            #16418
            cherrysock
            Participant

              Yeah, it works now. Thanks.

              #16417
              Gavalakis
              Keymaster

                Great. Thanks for letting me know 🙂

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