Accumulate Text with Text Animator Causes Brief Flicker When New Line Is Added
Posted: Thu May 01, 2025 3:50 am
Hi there,
I'm currently using the latest versions of both Dialogue System for Unity and Text Animator, and I'm running into a visual issue when using them together.
My setup:
I have Accumulate Text enabled in my dialogue UI.
I'm using TextAnimator_TMP with a Typewriter effect (character-by-character).
The dialogue subtitle panel uses TextAnimatorSubtitlePanel provided by the Dialogue System integration. I read things here (https://www.pixelcrushers.com/phpbb/vie ... 20,summary)
The panel's Visibility is set to Always Once Shown.
When a new line is added during a conversation (e.g., after a player choice or a follow-up line), the entire text area "blinks" for a split second. All previously accumulated lines disappear and then instantly reappear, along with the new line being animated. This is not caused by the GameObject being disabled/enabled (I guess) — I’ve verified that nothing in the hierarchy is deactivating. The flicker appears to come from how the Text Animator updates and redraws the full text in 0.1 seconds but no animation.
It seems like when a new line is added, Text Animator resets or reinitializes the full TMP content, momentarily hiding all previous characters before starting the animation on the new portion. As a result, even though the Accumulate Text logic works functionally, the visual output is disrupted.
Thanks in advance!
I'm currently using the latest versions of both Dialogue System for Unity and Text Animator, and I'm running into a visual issue when using them together.
My setup:
I have Accumulate Text enabled in my dialogue UI.
I'm using TextAnimator_TMP with a Typewriter effect (character-by-character).
The dialogue subtitle panel uses TextAnimatorSubtitlePanel provided by the Dialogue System integration. I read things here (https://www.pixelcrushers.com/phpbb/vie ... 20,summary)
The panel's Visibility is set to Always Once Shown.
When a new line is added during a conversation (e.g., after a player choice or a follow-up line), the entire text area "blinks" for a split second. All previously accumulated lines disappear and then instantly reappear, along with the new line being animated. This is not caused by the GameObject being disabled/enabled (I guess) — I’ve verified that nothing in the hierarchy is deactivating. The flicker appears to come from how the Text Animator updates and redraws the full text in 0.1 seconds but no animation.
It seems like when a new line is added, Text Animator resets or reinitializes the full TMP content, momentarily hiding all previous characters before starting the animation on the new portion. As a result, even though the Accumulate Text logic works functionally, the visual output is disrupted.
Thanks in advance!