Page 1 of 1

New Input System enabled, but Bubble Text prefab not working

Posted: Thu Dec 29, 2022 4:05 pm
by ehdusjenny
Hello,

I'm using the new Input System, and I've enabled USE_NEW_INPUT in the Dialogue System Welcome window. The Dialogue System is working fine with the Basic template.

I'm trying to use the Bubble template. I've added Bubble Template Standard UI Subtitle Panel prefab to the Dialogue Manager's Dialogue UI. However when I run the game, it's giving me this error:

Code: Select all

InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings.
UnityEngine.Input.get_mousePosition () (at <b7f3f927b2fb45af9f06b7b94f1a7fc0>:0)
PixelCrushers.DialogueSystem.UnityGUI.GUIRoot.OnGUI () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/UI/Legacy/GUI Controls/GUIRoot.cs:36)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Are there any other configurations I'm missing to support the Bubble template?
Or is the new Input System supported for just the Basic template?

Thank you for your help.

Re: New Input System enabled, but Bubble Text prefab not working

Posted: Thu Dec 29, 2022 5:10 pm
by Tony Li
Hi,

Assign the Basic Standard Dialogue UI prefab to the Dialogue Manager GameObject's Dialogue UI field.

Then see: How To: Show Overhead Conversation Bubble Text
(Briefly: Add a Dialogue Actor component to the character. Set Dialogue UI Settings > Subtitle Panel Number to Custom, and assign the bubble subtitle panel to it.)

Re: New Input System enabled, but Bubble Text prefab not working

Posted: Fri Dec 30, 2022 1:42 pm
by ehdusjenny
I followed the how-to and it worked! Thank you very much.

Re: New Input System enabled, but Bubble Text prefab not working

Posted: Fri Dec 30, 2022 1:51 pm
by Tony Li
Glad to help!