[articy] Deleting dialogue fragments unexpected behavior

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
mgregoirelds
Posts: 106
Joined: Wed Aug 23, 2017 4:10 pm
Location: Canada

[articy] Deleting dialogue fragments unexpected behavior

Post by mgregoirelds »

Hello Tony,

I think I found an issue with the articy importer. Let's say that I have a dialogue with 10 dialogue fragments. If I delete some of them, let's say, dialogue fragments 7 to 10, and then I try to reimport the xml file, the importer won't remove the deleted dialogue fragments.

I had a problem where I had 28 dialogue entries in a dialogue, then I changed all dialogue fragments text and deleted the last 5 fragments of that dialogue. Upon reimporting the xml file using the articy importer, there was no change at all to the imported database, even if the exported xml file from articy is different.
Unity 2022.3.17f1
Dialogue System 2.2.44.1
OpenAI Addon 1.0.12
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: [articy] Deleting dialogue fragments unexpected behavior

Post by Tony Li »

Hi,

Would you please double-check that the Dialogue System's articy importer is trying to import the updated XML file?

Did the Dialogue System's articy importer overwrite the dialogue database, or did it create a new dialogue database?
mgregoirelds
Posts: 106
Joined: Wed Aug 23, 2017 4:10 pm
Location: Canada

Re: [articy] Deleting dialogue fragments unexpected behavior

Post by mgregoirelds »

I haven't reproduced the issue, so I think you are right about ticking without notice the overwrite field. I did find a copy of the database, so that must be it. Thanks (and sorry about that).
Unity 2022.3.17f1
Dialogue System 2.2.44.1
OpenAI Addon 1.0.12
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: [articy] Deleting dialogue fragments unexpected behavior

Post by Tony Li »

No worries at all! If the issue happens again, before exiting Unity please save a copy of the Editor.log file to send to me.
mgregoirelds
Posts: 106
Joined: Wed Aug 23, 2017 4:10 pm
Location: Canada

Re: [articy] Deleting dialogue fragments unexpected behavior

Post by mgregoirelds »

I got the problem again. I am sending you an email with more details.
Unity 2022.3.17f1
Dialogue System 2.2.44.1
OpenAI Addon 1.0.12
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: [articy] Deleting dialogue fragments unexpected behavior

Post by Tony Li »

Whenever you change the XML file, you have to click the Review button to reload the changed XML into memory. If you have previously clicked Review or Convert before changing the XML file, then if you only click Convert again it will convert what's in memory instead of re-reading the XML file. Also, whenever you open and close the import window or restart Unity, it releases the in-memory copy of the XML data, so the Convert button by itself will run the Review process internally.

I'll make this much clearer in the next version. Sorry for the confusing buttons.
mgregoirelds
Posts: 106
Joined: Wed Aug 23, 2017 4:10 pm
Location: Canada

Re: [articy] Deleting dialogue fragments unexpected behavior

Post by mgregoirelds »

Thanks a lot for the explanation. I never expected the Review button to reload the xml file. I should have read better the infotip. It is working great now.
Unity 2022.3.17f1
Dialogue System 2.2.44.1
OpenAI Addon 1.0.12
Post Reply