Page 1 of 1
[articy] Deleting dialogue fragments unexpected behavior
Posted: Wed Feb 05, 2020 11:10 pm
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.
Re: [articy] Deleting dialogue fragments unexpected behavior
Posted: Thu Feb 06, 2020 8:24 am
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?
Re: [articy] Deleting dialogue fragments unexpected behavior
Posted: Wed Feb 12, 2020 9:16 am
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).
Re: [articy] Deleting dialogue fragments unexpected behavior
Posted: Wed Feb 12, 2020 10:13 am
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.
Re: [articy] Deleting dialogue fragments unexpected behavior
Posted: Sun Feb 16, 2020 9:52 am
by mgregoirelds
I got the problem again. I am sending you an email with more details.
Re: [articy] Deleting dialogue fragments unexpected behavior
Posted: Sun Feb 16, 2020 10:44 am
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.
Re: [articy] Deleting dialogue fragments unexpected behavior
Posted: Mon Feb 17, 2020 8:07 am
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.