Page 1 of 1

Smooth Scroll jumps to the end before it finishes scrolling

Posted: Tue Jan 21, 2025 11:58 pm
by spookthirsty
Hi! Thank you so much for developing this plugin first and foremost, it's so intuitive to use and has helped a ton for someone who is so new to coding like myself!!

I was playing around with the Scrolling Dialogue UI that came with the plugin and I came across a strange issue where with Smooth Scroll enabled, the text skips its scrolling effect the more text has been accumulated -- the text jumps to the end before it finishes scrolling.

Image

The jitter gets incrementally worse the more text there is; it starts out pretty much invisible, then after generating about 7-8 more blocks of text it becomes really obvious like the GIF above!

I have only made the following changes to the Scrolling Dialogue UI:
- Added a Dialogue System Events and enabled UIScrollbarEnabler.CheckScrollbarWithResetValue for On Conversation Line (Subtitle), based on an older forum post of yours: https://www.pixelcrushers.com/phpbb/vie ... php?t=2861
- Disabled the Unity UI Typewriter Effect for Subtitle Text
- In the Dialogue Manager, I set the Subtitle Chars Per Second, Min Subtitle Seconds and the Delay in Default Sequence to 0 because I want all text to appear immediately with no wait whatsoever, though I'm not sure if this is the preferred way to do it.

I also tried using an unmodified SMS Dialogue UI and the same issue happens. I've resized the SMS Dialogue UI to be around the same size as the Scrolling Dialogue UI in my scene, and after a lot of text has gathered in the ScrollRect it also only scrolls for a small bit before skipping to the end.

Please let me know if there is a way around this jitter because I plan to have large amounts of text in my game! The Scrolling Dialogue UI is otherwise perfect!!

Re: Smooth Scroll jumps to the end before it finishes scrolling

Posted: Wed Jan 22, 2025 10:22 am
by Tony Li
Hi,

I'll take a look at this and get back to you by the end of the day.

Re: Smooth Scroll jumps to the end before it finishes scrolling

Posted: Wed Jan 22, 2025 10:11 pm
by Tony Li
Hi,

Can you switch to TextMesh Pro? The steps are here: Text Mesh Pro Support. I don't see any jitter with TextMesh Pro.

Also, please remove the Unity UI Typewriter Effect component entirely. (This won't be an issue if you switch to TextMesh Pro, since you'll be creating an entirely new TextMesh Pro GameObject.)