You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
"Write Whole Words" setting is either ignored or bugged when using TMP in Say dialogues. The setting works perfectly when using Unity's default Text objects,
To Reproduce
Open a TMP demo scene, or alternatively create a new scene, spawn a custom Say dialogue, and configure it to use TMP
Enable "Write Whole Words"
Use a dialogue node of some kind to trigger the new say dialogue
Play
See error/undesired behaviour
Expected behavior
Sentences should be written out one word at a time. Instead, they are written out one letter at a time, as if the setting is disabled.
Versions & Platform (please complete the following information):
Unity version 2020.3.23f1
Fungus Version v3.13.8
Editor OS: Windows 10
Build Platform Windows
Additional Context
By placing Debug.Log callouts in every step of the PartitionString function (Writer.cs), I managed to figure out that Fungus doesn't even append rightString when using TMPro, instead opting to end the function after appending leftString. Fungus goes through the entire function normally when Unity's default UI Text component.
I'm not proficient enough with Fungus' backend to understand if that helps at all, but it did strike me as odd nonetheless.
The text was updated successfully, but these errors were encountered:
DancingEngie
added
the
bug
Doing something it's not meant to, or not doing something it's meant to.
label
Jun 19, 2022
Describe the bug
"Write Whole Words" setting is either ignored or bugged when using TMP in Say dialogues. The setting works perfectly when using Unity's default Text objects,
To Reproduce
Expected behavior
Sentences should be written out one word at a time. Instead, they are written out one letter at a time, as if the setting is disabled.
Screenshots
https://i.imgur.com/WZMeIcz.gif
(Option is enabled in the editor. Text size increased for better visibility)
Versions & Platform (please complete the following information):
Additional Context
By placing Debug.Log callouts in every step of the PartitionString function (Writer.cs), I managed to figure out that Fungus doesn't even append rightString when using TMPro, instead opting to end the function after appending leftString. Fungus goes through the entire function normally when Unity's default UI Text component.
I'm not proficient enough with Fungus' backend to understand if that helps at all, but it did strike me as odd nonetheless.
The text was updated successfully, but these errors were encountered: