Hi, I'm new to Dialogue System for Unity (latest version) and encountering an odd issue with a customized Scroll template.
Problem Description:
I've made a few visual customizations to the Scroll template, including switching all texts to use TextMeshPro. However, I've noticed that when the Actor is marked as "IsPlayer", the Portrait Name does not update during conversations. The portrait image updates correctly, but the name field always displays the last speaking NPC's name instead of the player's.
Details:
Template used: Scroll (customized)
Engine version: Unity [2022.3.22]
Dialogue System version: [2.2.54]
Customization includes: visual changes + switching to TextMeshPro
Subtitle Panel Info > Only Show NPC Portrait: Tried both checked and unchecked – same result (checked wouldn't hide or change the Player's Image)
What I’ve observed:
When "IsPlayer" is checked, the Portrait Name fails to update.
When I uncheck "IsPlayer", the name updates correctly.
The problem only happens with customized templates; the default Scroll template works fine.
Portrait Name not updating when Actor is marked as Player in custom Scroll template
Re: Portrait Name not updating when Actor is marked as Player in custom Scroll template
Hi,
Check your subtitle panel(s). It might just be on the "Subtitle Panel Info" GameObject if you started from the Scrolling Dialogue UI prefab. Make sure the Portrait Name and Portrait Image fields are assigned. If you want to show only the NPC's portrait name & image during the entire conversation (which is relatively common with this UI style), tick the "Only Show NPC Portraits" checkbox.
If those aren't the issues, let me know.
Check your subtitle panel(s). It might just be on the "Subtitle Panel Info" GameObject if you started from the Scrolling Dialogue UI prefab. Make sure the Portrait Name and Portrait Image fields are assigned. If you want to show only the NPC's portrait name & image during the entire conversation (which is relatively common with this UI style), tick the "Only Show NPC Portraits" checkbox.
If those aren't the issues, let me know.
Re: Portrait Name not updating when Actor is marked as Player in custom Scroll template
Yes, I've already checked the Subtitle Panel Info GameObject, and both the Portrait Name and Portrait Image fields are correctly assigned. I've also tried toggling the "Only Show NPC Portraits" checkbox:Tony Li wrote: ↑Sun Jun 08, 2025 2:10 pm Hi,
Check your subtitle panel(s). It might just be on the "Subtitle Panel Info" GameObject if you started from the Scrolling Dialogue UI prefab. Make sure the Portrait Name and Portrait Image fields are assigned. If you want to show only the NPC's portrait name & image during the entire conversation (which is relatively common with this UI style), tick the "Only Show NPC Portraits" checkbox.
If those aren't the issues, let me know.
When it's enabled, the player's Portrait Image still shown during player lines, and the Portrait Name still doesn't update — it shows the previous NPC's name.
When it's disabled, the Portrait Image updates correctly to the player’s image (which is same as enabled), but the Portrait Name still remains stuck on the previous NPC.
What's strange is that this issue only happens when the Actor has "IsPlayer" checked. If I uncheck "IsPlayer" on the same Actor, the name updates properly during their lines.
The default Scroll template works fine, so I suspect the problem might be related to TextMeshPro (cause that's barely the only "system-wise" change I made to the template)?
Let me know if you'd like a video or screenshot showing the issue. Thanks again for your support!
Re: Portrait Name not updating when Actor is marked as Player in custom Scroll template
Hi,Tony Li wrote: ↑Mon Jun 09, 2025 9:00 am Hi,
Does this example work correctly for you?
DS_TestScrollingTMP_2025-06-09.unitypackage
Thanks for your help — I’ve now isolated the behavior more clearly.
The Portrait Name fails to update for player name when any one of the following settings is active:
"Skip PC Subtitle After Response Menu" is enabled
"Show PC Subtitles During Line" is disabled
"Only Show NPC Portraits" is enabled on the Dialogue UI
This behavior is consistent across both my customized prefab and the official Scroll template — so it’s not caused by my prefab alone.
At the same time, I’ve realized that even if I avoid all three settings and the Portrait Name does update correctly, it still doesn’t match my intended design.
What I want is:
When the response menu appears, the UI should already show the player’s portrait and name — or show nothing at all, both would be acceptable for my design. After reviewing how other games built with Dialogue System handle this, I believe this might be an intentional design decision, not a bug.
Therefore, I’ll explore a workaround — perhaps using a “dummy NPC” that shares the protagonist’s portrait and name, and displays a blank line right before the response menu. That would give me the control I’m looking for.
Thanks again for the detailed assistance!
Re: Portrait Name not updating when Actor is marked as Player in custom Scroll template
Hi,
1. Expand Scrolling Dialogue > Dialogue Panel > Main Panel > Scroll Rect > Scroll Content.
2. Inspect Response Menu Panel.
3. Assign the Portrait Name and Portrait Image to PC Name and PC Image, respectively.
1. Expand Scrolling Dialogue > Dialogue Panel > Main Panel > Scroll Rect > Scroll Content.
2. Inspect Response Menu Panel.
3. Assign the Portrait Name and Portrait Image to PC Name and PC Image, respectively.