Starter Assets 3rd Person Mobile Build Unresponsive when Dialoge Manager in scene

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
GameDev273
Posts: 12
Joined: Tue Feb 07, 2023 8:14 am

Starter Assets 3rd Person Mobile Build Unresponsive when Dialoge Manager in scene

Post by GameDev273 »

Hi everyone,

Pretty sure this is a simple one, but it's got me flummoxed. So any help most appreciated.

Background - Prototype comprises 3 scenes, uses Starter Assets Third Person Controller, UI Joysticks (UI_Canvas_StarterAssetsInputs_Joysticks), Synty Prototype pack assets, and Dialogue System with Lively Chat Bubbles. At the moment we are trying to get basic functionality working, i.e. player movement, basic dialogue and scene transitions.

Behaviour - Game builds consistently, and installs ok on Mobile. Everything works as expected in Unity at runtime. PC build works as expected.

On mobile. Scenes load, but any scene containing the Dialogue Manager component loads with the character animating, but does not respond to joystick movement. Removal of Dialogue manager component results in responsive joystick movement.

I think it is player input related, but can fathom it so far.

Any help most appreciated. Cheers
User avatar
Tony Li
Posts: 23259
Joined: Thu Jul 18, 2013 1:27 pm

Re: Starter Assets 3rd Person Mobile Build Unresponsive when Dialoge Manager in scene

Post by Tony Li »

Hi,

It's possible that something in the Dialogue Manager's Canvas is blocking UI input to the UI touch joystick. Check what UIs you have in there, plus any that are instantiated at runtime by the Dialogue Manager's Instantiate Prefabs component.

If that's not the issue, try setting the Dialogue Manager's Input Device Manager component > Input Device to Touch. I'm not sure this will help (it's a long shot), but it'll at least be a data point.

If that doesn't help, set the Dialogue Manager's Other Settings > Debug Level to Info. Then make a Development Build and get the logs from the build when the issue occurs. If you're using Android, you may need to use logcat.
GameDev273
Posts: 12
Joined: Tue Feb 07, 2023 8:14 am

Re: Starter Assets 3rd Person Mobile Build Unresponsive when Dialoge Manager in scene

Post by GameDev273 »

Hi, Thanks Tony,

I have narrowed it down to the Input Device Manager. When the Input Device Manager is de-activated the player character responds as it should. I am still trying to understand the specific cause of the problem.

I don't see why the dialogue system would disrupt the Input System, I also checked the canvases but they didn't seem to be responsible.

Can you think of anything on the Input Device Manager that could be causing the problem.

Thanks,
User avatar
Tony Li
Posts: 23259
Joined: Thu Jul 18, 2013 1:27 pm

Re: Starter Assets 3rd Person Mobile Build Unresponsive when Dialoge Manager in scene

Post by Tony Li »

Hi,

Did you enable the Dialogue System's Input System support? (Tick the Welcome Window's USE_NEW_INPUT checkbox.)

Are there any errors or warnings in the Player.log file / logcat?

Technically you can just disable or remove the Input Device Manager component. The Dialogue System won't automatically detect when the player changes input modes (joystick, mouse, keyboard, or touch) - but if you're on mobile then that doesn't matter.
GameDev273
Posts: 12
Joined: Tue Feb 07, 2023 8:14 am

Re: Starter Assets 3rd Person Mobile Build Unresponsive when Dialoge Manager in scene

Post by GameDev273 »

Thanks Tony,

For my requirements, I simply removed the Input Device Manager component and it works ok.

USE_NEW_INPUT checkbox was selected,

Logcat did not show anything useful (although once you told me the work around i didn't focus on logcat).

Thanks again for the advice.
User avatar
Tony Li
Posts: 23259
Joined: Thu Jul 18, 2013 1:27 pm

Re: Starter Assets 3rd Person Mobile Build Unresponsive when Dialoge Manager in scene

Post by Tony Li »

Glad you got it working!
Post Reply