Page 1 of 1

Why can't I delete this link?

Posted: Tue May 28, 2019 8:20 pm
by AoF
I'm in the conversation editor and there's a link I can't delete. After I delete it, it's still there. Here's a gif showing it happening. There's no log produced, so I don't know how to provide more information to help troubleshoot.



In my editor, I opened the database and noticed an issue. Dialogue ID 22 has two outgoing links that seem to be duplicates.

Code: Select all

      outgoingLinks:
      - originConversationID: 2
        originDialogueID: 12
        destinationConversationID: 2
        destinationDialogueID: 15
        isConnector: 0
        priority: 0
      - originConversationID: 2
        originDialogueID: 22
        destinationConversationID: 2
        destinationDialogueID: 25
        isConnector: 0
        priority: 2
I'd upload my whole database, but your attachments don't allow txt files.

I fixed this by deleting the section of code I showed above and restarting unity. But I still have the whole database in text form with the problem if you want to see it.

Re: Why can't I delete this link?

Posted: Tue May 28, 2019 9:14 pm
by Tony Li
For the next release, I'll check the code that adds and removes links to make sure it can't add two of the same link. It normally shouldn't let you add two of the same link, but maybe I missed some weird edge case.

You might have been able to click on the "He wasn't the best business..." node and used the Inspector view. At the bottom of the inspector for dialogue entry nodes is a list of links from that node. Next to each link is a "-" button that you can click to remove the link.

Re: Why can't I delete this link?

Posted: Tue May 28, 2019 10:56 pm
by AoF
Tony Li wrote: Tue May 28, 2019 9:14 pm You might have been able to click on the "He wasn't the best business..." node and used the Inspector view. At the bottom of the inspector for dialogue entry nodes is a list of links from that node. Next to each link is a "-" button that you can click to remove the link.
Ah, if it happens again I'll try that next time. Thanks.