First response automatically selected after upgrading to Unity 6

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
gstaik
Posts: 8
Joined: Thu Oct 27, 2022 11:42 am

First response automatically selected after upgrading to Unity 6

Post by gstaik »

Hi,
I have an issue that was introduced after upgrading Unity Version from 2022.3.43f1 to Unity 6000.1.11f1
My Dialogue System for Unity version is 1.0.26

After the Unity upgrade, during a conversation, when the user is about to select from the available list of responses, the first response is always selected immediately. (I can barely see the available responses displayed before the first one is selected)

Please find attached some relevant screenshots that might help understand the cause of the issue.

Thank you,
George
Attachments
ResponseMenuPanel.PNG
ResponseMenuPanel.PNG (92.35 KiB) Viewed 1256 times
DialogueManager_InputDeviceManager.PNG
DialogueManager_InputDeviceManager.PNG (36.27 KiB) Viewed 1256 times
User avatar
Tony Li
Posts: 23447
Joined: Thu Jul 18, 2013 1:27 pm

Re: First response automatically selected after upgrading to Unity 6

Post by Tony Li »

Hi,

Is your Dialogue System installation in the folder Assets / Plugins / Pixel Crushers / Dialogue System?

If so, what version number is listed in the _README.txt file in that folder?

Would you please post a screenshot of the Display Settings > Subtitle Settings and Input Settings inspector sections of your Dialogue Manager GameObject?
gstaik
Posts: 8
Joined: Thu Oct 27, 2022 11:42 am

Re: First response automatically selected after upgrading to Unity 6

Post by gstaik »

Hi,

1)
Is your Dialogue System installation in the folder Assets / Plugins / Pixel Crushers / Dialogue System?
Yes, it is here:
Assets / Plugins / Pixel Crushers / Dialogue System
There is an additional folder here:
Asset / Pixel Crushers
In the second folder there are some files related with Corgi Engine intergration (I am using Dialogue system integrated with Corgi Engine).
2)
what version number is listed in the _README.txt file in that folder?
Version 2.2.56
3)
Would you please post a screenshot of the Display Settings > Subtitle Settings and Input Settings inspector sections of your Dialogue Manager GameObject?

Please find them attached.
Attachments
DialogueManager_SubtitleSettings_InputSettings.PNG
DialogueManager_SubtitleSettings_InputSettings.PNG (56.32 KiB) Viewed 1192 times
User avatar
Tony Li
Posts: 23447
Joined: Thu Jul 18, 2013 1:27 pm

Re: First response automatically selected after upgrading to Unity 6

Post by Tony Li »

Hi,

Since Input Settings > Always Force Response Menu is UNticked, if the response menu only has one choice it will automatically play it instead of showing the response. However, this doesn't sound like the issue you're experiencing, since you see the response menu for a brief time.

Is it possible that some previous input -- such as input that you pressed to start the conversation -- is also being intercepted by the response menu buttons?

Can you confirm that the issue is present or not in DemoScene1?
gstaik
Posts: 8
Joined: Thu Oct 27, 2022 11:42 am

Re: First response automatically selected after upgrading to Unity 6

Post by gstaik »

Hi,
I've checked the following scenes from Dialogue System for Unity, and they worked fine:
Assets/Plugins/Pixel Crushers/Dialogue System/Demo/Scenes/DemoScene1.unity
Assets/Plugins/Pixel Crushers/Dialogue System/Demo/Scenes/DemoScene2.unity
Assets/Pixel Crushers/Dialogue System/Third Party Support/Corgi Support/Example/Corgi Example New Input System.unity

I also tested my Dialogue Manager in the following scene, and it worked fine:
Assets/Pixel Crushers/Dialogue System/Third Party Support/Corgi Support/Example/Corgi Example New Input System.unity

After some investigation, I found that to make it work, I had to remove the "Press" section from all buttons assigned to "Dialogue Submit".
NewInputSystem_InputActions.png
NewInputSystem_InputActions.png (73.18 KiB) Viewed 976 times
Now, it is as follows. The issue is resolved and it works as expected.
NewInputSystem_InputActions_removedPressedSection.png
NewInputSystem_InputActions_removedPressedSection.png (55.95 KiB) Viewed 976 times
I'm not sure what caused this issue after upgrading to Unity 6, since I was already using the new input system before the upgrade.

Thank you for your help and support.
User avatar
Tony Li
Posts: 23447
Joined: Thu Jul 18, 2013 1:27 pm

Re: First response automatically selected after upgrading to Unity 6

Post by Tony Li »

Hi,

I bet updating to Unity 6 pulled down a newer version of the Input System package with that difference. Anyway, I'm glad you found the issue. Thanks for posting the final info.
Post Reply