Menu framework dont hide on scene load

Announcements, support questions, and discussion for the Dialogue System.
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Re: Menu framework dont hide on scene load

Post by hrohibil »

When you say builds, you mean like if I compiled it ? No I only test from Unity editor.

It’s way to soon to test on builds.

So if it works on your end that is really strange.
Like I also mentioned before, it seems like the conversation is indeed playing but I am just not getting the UI..
what should I do you think??

As for my second issue should I just un tick detect mouse control and control cursor?

I had issues if I did not check the control cursor.
Try to have that disabled from beginning and then play.. I could not use the mobile control..

Thank you Tony for helping out here..
User avatar
Tony Li
Posts: 22145
Joined: Thu Jul 18, 2013 1:27 pm

Re: Menu framework dont hide on scene load

Post by Tony Li »

It's never to early to start testing builds to make sure you're able to compile your project and run it on a device. This is a technical test, not a gameplay test. You can test gameplay builds later.

To confirm that the conversation is playing, set the Dialogue Manager's Other Settings > Debug Level to Info. When the conversation starts, you'll see a message in the Console like:

Dialogue System: Starting conversation 'TEST' with actor=X and conversant=Y

Try UNticking Detect Mouse Control and Control Cursor State again. Maybe you changed something else in your project since the last time you tried it.
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Re: Menu framework dont hide on scene load

Post by hrohibil »

Hey Tony

I will be home in 15 min then I will test it out asap.

For the issue 2, I will try to just untick Detect Mouse Control and Control Cursor State again.

As for issue 1. I want to start with a new fresh Dialogue system component.

Please confirm if below steps are valid and should work.

-I delete both Dialogue manager component from main scene and level1 scene
- From level1 scene I add a Dialogue manager. I setup this manager and test everything in this scene.
-I drag the Dialogue Manager from level1 into the project on a folder. It ask me to create a variant or the original. I choose variant.
-In main/title scene I drag in the prefab variant from the project into the scene.

Should the above steps work ?
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Re: Menu framework dont hide on scene load

Post by hrohibil »

Hello Tony

The unticking did not work on my part.

I recorded a short video so you can see my setup and hopefully guide me. I tried over with a new Dialogue Manager component.
I also tried from unity versions 2019, 2020 and 2021.
Video:
User avatar
Tony Li
Posts: 22145
Joined: Thu Jul 18, 2013 1:27 pm

Re: Menu framework dont hide on scene load

Post by Tony Li »

Try these settings:

On your "Dialogue Manager Variant" prefab, leave Detect Mouse Control and Control Cursor State ticked. (Don't untick them.)

In Level1, on the Cube, assign the Player GameObject to the Dialogue System Trigger's Conversation Actor field. Assign Cube to the Conversation Conversant. In your dialogue database, conversation "Number 2"'s Actor is set to Player. In the version of the scene that you sent me, the Player was incorrectly assigned to the Dialogue System Trigger's Conversation Conversant field, when it should have been assigned to Conversation Actor. This mismatch causes a problem so that the player doesn't receive the message to resume player control.
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Re: Menu framework dont hide on scene load

Post by hrohibil »

I tried to Tony :(
I dont understand why it wont work?

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

Re: Menu framework dont hide on scene load

Post by Tony Li »

Hi,

I just emailed you a copy of my version of the scenes. Please back up your project, import the unitypackage, and let me know if it works.
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Re: Menu framework dont hide on scene load

Post by hrohibil »

Sorry to disturb you Tony

I send a mail back if you prefer to just keep that mail going instead ?

But unfortunately I am still stuck.

If you could step by step tell me what to in terms of proper open those files I got from you... I don't know what to do from here.. Sorry and thank you for the all support so far and I understand if there is not more to do from your side.

You have done so much this far...

br Hamid
User avatar
Tony Li
Posts: 22145
Joined: Thu Jul 18, 2013 1:27 pm

Re: Menu framework dont hide on scene load

Post by Tony Li »

I'll reply in email. But the steps are simply to open the project in Unity, then play the MainMenu scene.
Post Reply