Page 1 of 1

Dialogue does not show correct words after making WEBGL build

Posted: Sun Nov 03, 2019 2:40 am
by pixel-reverie
Hi!

I just made a WEBGL build, and the dialogue steps through the nodes correctly, all logic works, but the displayed text is wrong.
The displayed text is the default text for the dialogue UIPanels.

I'm getting no errors thrown, and after the build the same problem is happening in the editor as well.

I'm looking for the root of the problem, but in the meantime maybe someone has already experienced this and could help me out!

Thanks!

Re: Dialogue does not show correct words after making WEBGL build

Posted: Sun Nov 03, 2019 2:46 am
by pixel-reverie
I found the problem. . .

I was using TextMeshPro and now the option has disappeared, and my text been unassigned.

Image

TMPro support must be imported per platform. I reimported it and now it works again!

Re: Dialogue does not show correct words after making WEBGL build

Posted: Sun Nov 03, 2019 8:09 am
by Tony Li
Hi,

I'm glad to see it's working now. BTW, in version 2.2.0 and above, if you use the Dialogue System's Welcome Window to enable TMP support, it will apply the TMP_PRESENT scripting define symbol to all installed build targets.

Re: Dialogue does not show correct words after making WEBGL build

Posted: Sun Nov 03, 2019 1:28 pm
by pixel-reverie
Hi Tony,

Actually I am using 2.2.1 and my TextMeshPro TMP_PRESENT option is ticked.
Not too sure why it didn't work straight away.

Re: Dialogue does not show correct words after making WEBGL build

Posted: Sun Nov 03, 2019 4:52 pm
by Tony Li
If you run into a similar problem again, let me know and we'll get to the bottom of it.

Re: Dialogue does not show correct words after making WEBGL build

Posted: Mon Nov 04, 2019 2:04 am
by pixel-reverie
Thanks! I will let you know!