Page 1 of 2

Dialogue System not working ingame Build

Posted: Wed Sep 11, 2024 8:01 am
by flame0n
Hey!

I have a very strange problem with Dialogue System. While i'm in editor everythings works fine. But in build Dialogue system looks inactive. I tried to check other topics but no result.
1. In development mode i don't have any mentions about DS in logs. Zero errors or something.
2. Tried to check if Canvas aauto-scaled. All fine.
3. Looks like it's disabled. Because i can't even hear any sounds that i connect to dialogue to check if it works.

Could you please help me to find out wht's the problem?

Unity version 2022.3.40f1

Re: Dialogue System not working ingame Build

Posted: Wed Sep 11, 2024 8:07 am
by Tony Li
Hi,

Check the first scene in your project's build settings. Does it have a Dialogue Manager GameObject? If so, is this GameObject configured the way you want (e.g., correct database assigned, etc.)?

Re: Dialogue System not working ingame Build

Posted: Wed Sep 11, 2024 8:15 am
by flame0n
Yes, Dialogue Manager GameObject in scene that i bult. GameObject configured the way i want and in Editor Play Mode works brilliant.

UPD.
I also check Tags. It's untagged as others GameObjects.

Re: Dialogue System not working ingame Build

Posted: Wed Sep 11, 2024 10:16 am
by Tony Li
Hi,

Set the Dialogue Manager's Other Settings > Debug Level to Info.

Then make a Development Build and play it.

Once you've reproduced the issue, examine the Player.log file. Trace through what the Dialogue System has reported. Make sure you see a line that starts with: "Dialogue System: Starting conversation...."

Re: Dialogue System not working ingame Build

Posted: Wed Sep 11, 2024 11:03 am
by flame0n
Thanks!
So, there is no Start conversation. Only spaming this (attached).
Log.txt
(21.79 KiB) Downloaded 3 times

Re: Dialogue System not working ingame Build

Posted: Wed Sep 11, 2024 11:55 am
by Tony Li
Hi,

Those all look fine. Those are the Dialogue System's startup messages. The last one might be questionable:

Dialogue System: Loaded master database ''

There's no name for the database. But if you haven't set one, then that's fine.

Please feel free to send a reproduction project to tony (at) pixelcrushers.com if you'd like me to take a direct look.

Re: Dialogue System not working ingame Build

Posted: Wed Sep 11, 2024 2:42 pm
by flame0n
Sooo, looks like something wrong with Selector. Cause built acting actually like selector not assigned anywhere. And also i trie to switch dialogue from On Use -> On Start and canvas with dialogue loaded correctly.

Maybe you have any ideas what points i can check in Selector?

Re: Dialogue System not working ingame Build

Posted: Wed Sep 11, 2024 3:04 pm
by Tony Li

Re: Dialogue System not working ingame Build

Posted: Thu Sep 12, 2024 5:45 am
by flame0n
I'm really stupid but i forgot to mention that i use UHFPS Kit in my project. Looks like it depends. Because i create clear project without it and all works fine.

Re: Dialogue System not working ingame Build

Posted: Thu Sep 12, 2024 8:22 am
by Tony Li
Hi,

There shouldn't be any direct conflict with UHFPS Kit and the Dialogue System. Other games use both together. You may, however, want to use this article to save UHFPS Kit data: How To: Integrate with Horror FPS Kit

So I suspect the issue is something specific in your main project, not a conflict between DS and UHFPS Kit.