Page 2 of 2

Re: How to have two Dialogue System Controller running at the same time?

Posted: Tue Apr 20, 2021 9:10 pm
by Tony Li
Hi,

Here's the test scene in which I tested the scenarios:

DS_SimultaneousConversationExample_2021-04-20.unitypackage

Please verify that it works correctly in your project. If so, you can compare it with your own setup.

The two cylinders on the left do a bubble conversation. Click on the cylinder closest to the middle to start the conversation.

The cylinder on the right does a regular screen space conversation. Click on it to start the conversation.

Some notes on how I set it up:
  • There are 4 actors with Dialogue Actor GameObjects: Regular Player, Regular NPC, Bubble Player, Bubble NPC. The Bubble actors' Dialogue Actor components are configured to use overhead bubble panels.
  • The Dialogue Manager's Subtitle Settings > Continue Button is set to Always.
  • The Bubble NPC has an Override Display Settings component to test overriding display settings. Continue Button is set to Never.
  • The Bubble NPC also points to a Standard Dialogue UI (colored blue) so it doesn't have to try to share (and conflict) with the Dialogue Manager's Standard Dialogue UI (colored default gray).

Re: How to have two Dialogue System Controller running at the same time?

Posted: Wed Apr 21, 2021 1:11 am
by Timeberwell
Problem persists.

And I'm using the new Input System package, which could be where the problem lies.
After opening your "Simultaneous Conversations Example", I swap the input type to the new Input System in the EventSystem, then I change the UseKey in the Selector script so I can initiate conversations.

The problem with current subtitle line disappearing when another conversation starts still exists.
After finishing the current conversation, the cyan "Dialogue UI For Bubble" under "Bubble NPC/Canvas/" kicks in, which I assume this is a dummy UI and should not be used.

This can be prevented by adding a "Override Display Settings" to regular NPC, but I still don't want the current line to disappear.

Also, what I had in mind for the Bubble conversation is done between two NPCs. In the model you provided, the Bubble conversation also goes away after choosing a choice in Regular conversation. However, this won't be a problem for me, as I intend on letting the bubble conversation happen only among NPCs.

Nevertheless, the patch fixes our other problems.

Re: How to have two Dialogue System Controller running at the same time?

Posted: Wed Apr 21, 2021 9:44 pm
by Tony Li
You're correct that the cyan UI should never appear.

I still can't reproduce any issues. Here's an updated example scene with two changes:
  • It uses the new Input System.
  • The bubble conversation occurs between two NPCs.
DS_SimultaneousConversationExample_NewInputSystem_2021-04-21.unitypackage

Re: How to have two Dialogue System Controller running at the same time?

Posted: Thu Apr 22, 2021 2:18 am
by Timeberwell
Oh well, this is strange.

Anything else you can think of to let me try?
I'm out of ideas. I started a brand new project, and the problems are still there.

Re: How to have two Dialogue System Controller running at the same time?

Posted: Thu Apr 22, 2021 8:56 am
by Tony Li
Hi,

I just PM'ed you a copy of the example project.

If you can reproduce the issue there, please let me know the steps you used to reproduce it.

If you can't reproduce it, please compare its setup to your own project.

If you would like me to take a look at your project, please send a reproduction project to tony (at) pixelcrushers.com.