Page 1 of 2
DS To I2 tool suddenly stopped working
Posted: Wed Nov 09, 2022 11:35 am
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!
Re: DS To I2 tool suddenly stopped working
Posted: Wed Nov 09, 2022 2:56 pm
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.
Re: DS To I2 tool suddenly stopped working
Posted: Thu Nov 10, 2022 3:43 pm
by etsapekis
No difference. The i2 asset simply remains unchanged. No errors or anything
Re: DS To I2 tool suddenly stopped working
Posted: Thu Nov 10, 2022 3:46 pm
by etsapekis
attached is my settings
Re: DS To I2 tool suddenly stopped working
Posted: Thu Nov 10, 2022 3:50 pm
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?
Re: DS To I2 tool suddenly stopped working
Posted: Thu Nov 10, 2022 4:06 pm
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)
Re: DS To I2 tool suddenly stopped working
Posted: Thu Nov 10, 2022 4:43 pm
by etsapekis
I don't always get errors, but if I try a few times, I sometimes get this error.
Re: DS To I2 tool suddenly stopped working
Posted: Thu Nov 10, 2022 6:00 pm
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.
Re: DS To I2 tool suddenly stopped working
Posted: Fri Nov 11, 2022 10:05 am
by etsapekis
it seems that in FieldSelectionDictionary, the 'includes' array is full of 'false' values
Re: DS To I2 tool suddenly stopped working
Posted: Fri Nov 11, 2022 10:17 am
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