Page 1 of 1

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

Posted: Thu Nov 28, 2024 7:31 am
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

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

Posted: Thu Nov 28, 2024 9:04 am
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.

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

Posted: Thu Nov 28, 2024 5:42 pm
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,

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

Posted: Thu Nov 28, 2024 8:50 pm
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.

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

Posted: Wed Dec 04, 2024 3:58 am
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.

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

Posted: Wed Dec 04, 2024 7:11 am
by Tony Li
Glad you got it working!