DS To I2 tool suddenly stopped working

Announcements, support questions, and discussion for the Dialogue System.
etsapekis
Posts: 39
Joined: Tue Oct 12, 2021 4:21 pm

DS To I2 tool suddenly stopped working

Post by etsapekis »

We've bene using DS for our project and pushing to I2 without issue for a while. However, seemingly for now reason, the DS data is suddenly not properly exporting to I2 anymore.

If I change some conversation title or text info, or even if I add a completely new conversation, it does not end up in my I2 asset. However, if I change some export options, I will see some changes in the I2 asset, but none of those changes include my new conversation or anything.

This was working flawlessly for a while and I have no idea what has gone wrong; any help would be appreciated!
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: DS To I2 tool suddenly stopped working

Post by Tony Li »

Hi,

Are there any errors or warnings in the Console window?

You could try this:

1. Backing up your project. (Just to be safe.)
2. Make sure the backup is good.
3. Update the Dialogue System.
4. Import the updated i2 Localization Support package.
etsapekis
Posts: 39
Joined: Tue Oct 12, 2021 4:21 pm

Re: DS To I2 tool suddenly stopped working

Post by etsapekis »

No difference. The i2 asset simply remains unchanged. No errors or anything
etsapekis
Posts: 39
Joined: Tue Oct 12, 2021 4:21 pm

Re: DS To I2 tool suddenly stopped working

Post by etsapekis »

attached is my settings
Attachments
dstoi2.png
dstoi2.png (45.72 KiB) Viewed 683 times
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: DS To I2 tool suddenly stopped working

Post by Tony Li »

It looks like you're using the default Assets/Resources/I2Languages asset. If so, can you try UNticking 'Specify I2 Asset'?

Is your Console window hiding error-level or warning-level messages?
etsapekis
Posts: 39
Joined: Tue Oct 12, 2021 4:21 pm

Re: DS To I2 tool suddenly stopped working

Post by etsapekis »

that is definitely not a problem because it properly checks out the correct i2 asset in perforce when doing this (also i only have one i2 languages asset in my project)
etsapekis
Posts: 39
Joined: Tue Oct 12, 2021 4:21 pm

Re: DS To I2 tool suddenly stopped working

Post by etsapekis »

I don't always get errors, but if I try a few times, I sometimes get this error.
Attachments
dstoi2error.png
dstoi2error.png (22.61 KiB) Viewed 681 times
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: DS To I2 tool suddenly stopped working

Post by Tony Li »

Is the correct dialogue database assigned to the DS To I2 window?

Try setting the Verbose checkbox to Detailed. Then click "To I2" again. Does the Console contain messages in the form of the one below?

Dialogue System: Adding term Dialogue System/Conversation/Title/Entry/001/Actor/Dialogue Text

If not, can you send a reproduction project to tony (at) pixelcrushers.com?

I understand that may not be possible. If it's not possible, you will need to attach your code debugger to the project and set a breakpoint in the CopyDatabaseToI2() method. Then click "To I2" and step through the method to get some insight into what's going wrong.
etsapekis
Posts: 39
Joined: Tue Oct 12, 2021 4:21 pm

Re: DS To I2 tool suddenly stopped working

Post by etsapekis »

it seems that in FieldSelectionDictionary, the 'includes' array is full of 'false' values
Attachments
dstoi2includesfalse.png
dstoi2includesfalse.png (57.82 KiB) Viewed 673 times
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: DS To I2 tool suddenly stopped working

Post by Tony Li »

Hi,

Something happened with the internal list of which fields to include and exclude from localization. Please import this patch. Then click the Refresh button. This will clear the internal list. After clicking Refresh, you'll need to tick the fields that you want to localize since it will have reset that list.

DS_I2LocalizationSupport_2022-11-11.unitypackage
Post Reply