Page 1 of 1

Super Text Mesh with Speech Bubble Panels

Posted: Wed Jul 21, 2021 9:22 pm
by n_hagialas
Hi Tony,

We have integrated Super Text Mesh into our game, and is working perfectly for one of our dialogue panels, but is creating issues with the Bubble Subtitle UI panel.

-Utilizing normal Unity text, the bubble works perfectly in engine and with a build
-In the engine, the text expands the bubble and is displayed in the box properly (although there are sometimes weird 1 frame pops where the bubble gets huge then resizes properly) -- Image 1 attached
-In a build, the text is totally off centered, and isn't resizing the bubble properly at all. -- Image 2 attached

I played around with a bunch of layout settings, and STM settings, and can't figure this out. I'm attaching reference images as well. Please let me know if you have a solution.

Thanks!
-Nik
TR Text Messed Up 1.jpg
TR Text Messed Up 1.jpg (560.88 KiB) Viewed 266 times
TR Text Messed Up 2.jpg
TR Text Messed Up 2.jpg (886.97 KiB) Viewed 266 times

Re: Super Text Mesh with Speech Bubble Panels

Posted: Thu Jul 22, 2021 9:25 am
by Tony Li
Hi Nik,

What versions of Unity, STM, and Dialogue System are you using?

Can you back up your project and then progressively update assets and test again?

If/when you update the Dialogue System, skim over the release notes first. I try to keep potentially-breaking changes to a minimum, but they're occasionally unavoidable. (The big one in recent versions is that StandardUIResponseButton will not automatically add its OnClick() event now if the UI Button already has anything assigned to OnClick(), so you need to add it yourself in the inspector.)

It's possible that STM also has some updates related to relayout in builds.

If you're using Unity 2019 or earlier, do not update to 2020+. Unity's still working out a ton of bugs. At most, update to the latest LTS release of your current version (e.g., Unity 2018 LTS or 2019 LTS).