Dialogue menu shows previous menu options briefly

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
swaheeli
Posts: 4
Joined: Thu Jun 19, 2025 2:01 am

Dialogue menu shows previous menu options briefly

Post by swaheeli »

Hi!

I'm using a slightly modified version of the default dialogue UI prefab, and when I interact with an NPC with dialogue that has menu options, I can BRIEFLY see the previous menu options for about a frame.

For example, if NPC1 asks me my favorite color and the options are 1. Red or 2. Blue, and then afterwards I talk to NPC2 and he asks me my favorite food and the options are 1. Pizza or 2. Pasta, I will BRIEFLY (for about a frame) see the options Red and Blue before I correctly see Pizza and Pasta.

A similar thing happens with subtitle panel portrait names. If I talk to an NPC named Greg, it will show his portrait name as Greg, but then if afterwards I talk to an NPC named Steve, it will BRIEFLY show the portrait name as Greg before it correctly switches to the correct portait name of Steve.

I've been working on this project for a few years and it didn't always do this, so I'm sure at a certian point I just changed a setting somewhere and messed things up. Let me know if anyone has any idea what might be causing this. I'm happy to provide screenshots of any settings or provide video of the issue in action.

Thank you!
User avatar
Tony Li
Posts: 23331
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue menu shows previous menu options briefly

Post by Tony Li »

Hi,

On your subtitle panel(s), try ticking Wait For Close and Clear Text On Close.

On your response menu panel(s), try ticking Wait For Close.

If that doesn't fix it, please let me know which Dialogue System version you're using.
swaheeli
Posts: 4
Joined: Thu Jun 19, 2025 2:01 am

Re: Dialogue menu shows previous menu options briefly

Post by swaheeli »

Hi Tony, thanks so much for your quick response.

Unfortunately, changing those settings didn't fix it.

Ticking Wait For Close and Clear Text On Close on my subtitle menu made it so the portrait name faded off and then back on with each dialogue line, and it also showed the previous dialogue line after clicking continue before correctly switching to the current dialogue line, so that definitely made things worse.

Clicking Wait for Close on the response menu panel just made the menu options take slightly longer to appear, but the glitch is still present.

Here's a video showing the issue, as well as the effects of changing those options you suggested:



You can clearly see the menu glitch in that video, but the subtitle portrait glitch is a little harder to spot- but it's visible if you go frame by frame. I captured that video directly from the Unity editor. If I run a build of the game, the effect is much more subtle (up for a shorter amount of frames, likely due to the higher framerate in the build version) but it' still there.

My Dialogue System version is 2.2.43.1.

It also might be worth nothing that I'm using Febucci's TextAnimator package as well, but I tried tweaking every concievable setting within the TextAnimator component and none of them fixed it, so I don't think that's related to the issue.

Let me know if you have any other ideas or any other things I should test to solve this. Thank you again!
User avatar
Tony Li
Posts: 23331
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue menu shows previous menu options briefly

Post by Tony Li »

Hi,

Text Animator caches the text so it can type it out. I think that's the issue.

Please import this updated Text Animator Support package:

DS_TextAnimatorSupport_2025-06-20.unitypackage

Then on your response button(s) replace the StandardUIResponseButton component with TextAnimatorResponseButton. You can replace the component in-place to retain inspector assignments.

You may also want to back up your project and update to DS version 2.2.55 for other UI fixes and updates.
swaheeli
Posts: 4
Joined: Thu Jun 19, 2025 2:01 am

Re: Dialogue menu shows previous menu options briefly

Post by swaheeli »

Hi,

I tried importing that unity package, but when I go to add the TextAnimatorResponseButton script to my menu, I'm met with the following compiler error:
Assets\Plugins\Pixel Crushers\Dialogue System\Third Party Support\Text Animator Support\TextAnimatorSubtitlePanel.cs(39,33): error CS0115: 'TextAnimatorSubtitlePanel.SetFormattedText(UITextField, string, Subtitle)': no suitable method found to override
Let me know if you have a fix for that.

It makes sense that the TextAnimator cache would be the issue, as I've had a few other weird dialogue issues that are likely related to that as well. Hopefully it fixes it once we can sort out the compiler issue.

Thank you!
User avatar
Tony Li
Posts: 23331
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue menu shows previous menu options briefly

Post by Tony Li »

Hi,

You may need to update to DS 2.2.55 (or at least something newer than 2.2.43) to be able to use the newer Text Animator Support package.
swaheeli
Posts: 4
Joined: Thu Jun 19, 2025 2:01 am

Re: Dialogue menu shows previous menu options briefly

Post by swaheeli »

Hi,

I tried updating my Dialogue System package to 2.2.55, but before I could test out the Text Animator Support package, I now have a new issue- I can no longer trigger conversations using the "On Use" Dialogue System Trigger (either using the interact button on a gamepad or a keyboard).

I wanted to make sure my Dialogue System wasn't completely broken so I tested out starting a conversation using an "On Trigger Enter" Dialogue System Trigger, and that worked fine. It's just the "On Use" that doesn't work.

I thought maybe I could be having issues because I'm still on Unity 2021, so I updated Unity all the way up to Unity 6, but the issue persists.

Is there something else I have to do to set up the Dialogue System usable elements to work properly having updated from 2.2.43.1 to 2.2.55?

Sorry for all the back-and-forth, I appreciate all your help with this!
User avatar
Tony Li
Posts: 23331
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue menu shows previous menu options briefly

Post by Tony Li »

Hi,

Would you please check the list here?

How To: Fix Selector and Proximity Selector Issues
Post Reply