Why can't I delete this link?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
AoF
Posts: 241
Joined: Sun May 12, 2019 8:36 pm

Why can't I delete this link?

Post 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.
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Why can't I delete this link?

Post 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.
AoF
Posts: 241
Joined: Sun May 12, 2019 8:36 pm

Re: Why can't I delete this link?

Post 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.
Post Reply