Dialogue Options Unclickable in Build vs Editor

Announcements, support questions, and discussion for the Dialogue System.
bakershah15
Posts: 8
Joined: Mon Dec 09, 2024 6:01 pm

Dialogue Options Unclickable in Build vs Editor

Post by bakershah15 »

Hello,

I am having some issues with the tool. In editor I am able click on dialogue options and there is no issue. In the build the options become unselectable breaking the game. My only guess is that its a resolution issue because the dialogue size is different in editor vs build. Tried to upload screenshots but the file limit is 1 mb.
User avatar
Tony Li
Posts: 23256
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue Options Unclickable in Build vs Editor

Post by Tony Li »

Hi,

Make a Development Build. Then reproduce the issue and example the Player.log file for errors or warnings.

Are other UI buttons (not in the dialogue UI) clickable in a build?

In the Unity editor's play mode, try playing the game from the first scene in build settings.
bakershah15
Posts: 8
Joined: Mon Dec 09, 2024 6:01 pm

Re: Dialogue Options Unclickable in Build vs Editor

Post by bakershah15 »

Ok yes When I play in the editor from the 1st scene the bug shows up. I have a dialogue manager in the 1st scene so not sure why its happening.
User avatar
Tony Li
Posts: 23256
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue Options Unclickable in Build vs Editor

Post by Tony Li »

Hi,

Great! This means we can debug the issue in the editor, which is easier. In the first scene, check the Dialogue Manager's Canvas(es). Make sure they have Graphic Raycaster components.

Keep an inspector on the EventSystem GameObject. It will show what the UI has selected (focused) when you try to click on things.

Also look for any errors or warnings in the Console window.
bakershah15
Posts: 8
Joined: Mon Dec 09, 2024 6:01 pm

Re: Dialogue Options Unclickable in Build vs Editor

Post by bakershah15 »

I have the event system clicked and its not showing me anything. I am getting a Audio wait command not available warning in regards to the sequencer. There are graphic raycaster components on the canvas. I'd appreciate if we can figure out the fix for this soon. My game is launching monday and embargo lifts tomorrow. :(
Attachments
Screenshot 2024-12-12 084931.png
Screenshot 2024-12-12 084931.png (12.11 KiB) Viewed 1620 times
bakershah15
Posts: 8
Joined: Mon Dec 09, 2024 6:01 pm

Re: Dialogue Options Unclickable in Build vs Editor

Post by bakershah15 »

Here is the event system.
Attachments
Screenshot 2024-12-12 085516.png
Screenshot 2024-12-12 085516.png (71.92 KiB) Viewed 1620 times
User avatar
Tony Li
Posts: 23256
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue Options Unclickable in Build vs Editor

Post by Tony Li »

The runtime info is at the bottom of the EventSystem's inspector:

eventSystem.png
eventSystem.png (70.31 KiB) Viewed 1617 times
bakershah15
Posts: 8
Joined: Mon Dec 09, 2024 6:01 pm

Re: Dialogue Options Unclickable in Build vs Editor

Post by bakershah15 »

Here is the dialogue when I play directly from the game scene. text becomes small but its clickable.
Attachments
Screenshot 2024-12-12 090852.png
Screenshot 2024-12-12 090852.png (878.27 KiB) Viewed 1617 times
bakershah15
Posts: 8
Joined: Mon Dec 09, 2024 6:01 pm

Re: Dialogue Options Unclickable in Build vs Editor

Post by bakershah15 »

And here is the dialogue when I play from the 1st scene in build settings. text is a lot bigger but unclickable.
Attachments
Screenshot 2024-12-12 091351.png
Screenshot 2024-12-12 091351.png (558.15 KiB) Viewed 1617 times
bakershah15
Posts: 8
Joined: Mon Dec 09, 2024 6:01 pm

Re: Dialogue Options Unclickable in Build vs Editor

Post by bakershah15 »

Update: I found that by turning off my canvas in the scene the dialogue becomes clickable. I guess my in scene canvas is clashing with the dialogue system canvas. How should I address this? I tried changing the sort order of the canvas but that didnt work.
Last edited by bakershah15 on Thu Dec 12, 2024 10:24 am, edited 1 time in total.
Post Reply