Page 1 of 1

[Solved]Text tables not working

Posted: Thu Jun 21, 2018 1:40 pm
by roketronz
Hi!

I found that when importing a CSV to the new Text Tables, at first it will look like it imported all the fields, but after closing the editor and re-open, the text table will be empty.

It does not happen when upgrading from the old text tables to the new ones.

It's happening both on 2017.2.1 with 2.0.0 and 2.0.1.

I created a new project and I still get this error. I couldn't find a rule, since occasionally would persist the text table between sessions (in my experience, 1 out of 10).

I thought that might be the content of a particular field in the csv, but I've been testing it all morning and didn't find anything.

Re: Text tables not working

Posted: Thu Jun 21, 2018 1:48 pm
by Tony Li
Hi,

I'll investigate this right now and post back here soon.

Re: Text tables not working

Posted: Thu Jun 21, 2018 2:21 pm
by Tony Li
I'll make a patch available soon. The import wasn't marking the asset dirty, so Unity didn't know to save changes to disk. I have one more issue to address (in the articy:draft importer), and then I'll run it through testing and push out the patch.

Re: Text tables not working

Posted: Thu Jun 21, 2018 3:14 pm
by Tony Li
Hi,

The patch is available on the Pixel Crushers customer download site. You can also download it here:

DialogueSystem_2_0_1_Patch20180621.unitypackage

Re: Text tables not working

Posted: Thu Jun 21, 2018 9:39 pm
by roketronz
Wow! That was super quick!!

Thanks for the patch Tony! I will try it tomorrow.

Re: Text tables not working

Posted: Thu Jun 21, 2018 10:13 pm
by roketronz
Couldn't wait. Worked perfectly.

Thanks for the help Tony!

On a side note, I have like 300 entries, and the performance of the text table window lags a bit. Is that normal?

Re: Text tables not working

Posted: Fri Jun 22, 2018 8:09 am
by Tony Li
roketronz wrote: Thu Jun 21, 2018 10:13 pmOn a side note, I have like 300 entries, and the performance of the text table window lags a bit. Is that normal?
It may be, depending on your version of Unity and your computer. The performance is somewhat limited by the Unity editor, since the window relies on Unity's built-in list editing functionality. But in the next release I'll investigate ways to improve performance, such as paging in pieces of the table at a time to keep the Unity editor's workload lower.

Re: Text tables not working

Posted: Fri Jun 22, 2018 1:59 pm
by roketronz
Thanks for the reply!

I have a decent computer, and I'm using 2017.2.

Since I only use the text tables to import csv, is definitely not a deal breaker.

Thanks for all your replies, making the patch and your time!

Re: [Solved]Text tables not working

Posted: Fri Jun 22, 2018 3:10 pm
by Tony Li
Glad to help!