Page 1 of 1

PC NPC Subtitle Panel Focus question

Posted: Tue Jan 04, 2022 12:41 pm
by GreenConure
Hello!

Hope you had a wonderful holiday!

I'm running into this issue where some parts of a conversation has subtitle 1 and 0 focusing at the same time. The console logs the actor link correctly and I've also assigned the game objects with their dialogue actors in the DS trigger actor and conversant.

I'm using an edited version of the VN Dialogue prefab but this also happens with the base prefab as well. When I check the subtitle animator, Focus is being triggered for both PC and NPC subtitle panels (Panel 0 is for NPC and Panel 1 is for PC).

I've tried the following methods but with no success so far.
1. Using OpenPanel(1, focus) or unfocus sequencer commands.
2. Editing the default sequence + default player sequence via SendMessage(Unfocus,Subtitle Panel 0);
3. Also tried playing the unity event for focus/unfocus to force the other panel to unfocus/focus.

The issue is quite sporadic with some conversations going smoothly with no issues while some has this focus issue.
If there's any other information I can give, let me know.

Thank you so much again for your support!

Re: PC NPC Subtitle Panel Focus question

Posted: Tue Jan 04, 2022 12:58 pm
by Tony Li
Hi,

Does the issue still occur if you don't manually control the focus? In other words, if you only let the StandardDialogueUI control which panel is focused as normal, does the issue still occur? This will help pin down what exactly is causing the wrong panel to play its focus animation.

Re: PC NPC Subtitle Panel Focus question

Posted: Tue Jan 04, 2022 2:07 pm
by GreenConure
Hello!

Yes, even without controlling the focus, it still does this. There is a higher tendency as well for this to happen after player response nodes. For context I usually only have two characters speaking in conversations.

Thank you!

Re: PC NPC Subtitle Panel Focus question

Posted: Tue Jan 04, 2022 4:13 pm
by Tony Li
Thanks for the info. I'll investigate and reply back here by end of day.

Re: PC NPC Subtitle Panel Focus question

Posted: Tue Jan 04, 2022 9:46 pm
by Tony Li
I can reproduce the problem, and I'll try to have a fix ready tomorrow.

Re: PC NPC Subtitle Panel Focus question

Posted: Tue Jan 04, 2022 10:36 pm
by GreenConure
Hello!

I really appreciate it! Thank you so so much!

Re: PC NPC Subtitle Panel Focus question

Posted: Wed Jan 05, 2022 9:45 pm
by Tony Li
Hi,

Please give this patch a try. It should fix the issue.

DS_FocusPatch_2022-01-05.unitypackage

Re: PC NPC Subtitle Panel Focus question

Posted: Thu Jan 06, 2022 11:16 am
by GreenConure
That worked perfectly!
Thank you so much! :)

Re: PC NPC Subtitle Panel Focus question

Posted: Thu Jan 06, 2022 1:11 pm
by Tony Li
Happy to help!