Page 1 of 1
Menu Panel showing up from the start after resetting conversation
Posted: Tue Jul 30, 2024 10:18 am
by AJWantsToSleep
Hello, I have the following Problem:
If I reach the MenuPanel in the dialog and then end the dialog using a 'CloseButton,' but then start the dialog again, the MenuPanel appears from the beginning, even though it shouldn't be there yet.
How can I fix this problem?
Re: Menu Panel showing up from the start after resetting conversation
Posted: Tue Jul 30, 2024 12:15 pm
by Tony Li
Hi,
What close button are you using?
Can you close the conversation by calling DialogueManager.StopConversation() instead?
Re: Menu Panel showing up from the start after resetting conversation
Posted: Tue Jul 30, 2024 12:53 pm
by AJWantsToSleep
Close Button: The small [X] in the upper right corner.
I'm using it to end the conversation whenever i want to.
I also have to confirm that i want to stop the conversation.
And on my Confiramtion Button is a Script with DialogueManager.StopConversation();
So it should be working, sadly it doesn't.
I mean, the conversation is being stopped just fine. And the dialogue resets after starting it again. But the MenuPanel is already active starting from the first node instead of the third
Re: Menu Panel showing up from the start after resetting conversation
Posted: Tue Jul 30, 2024 1:21 pm
by Tony Li
Hi,
Are there any errors or warnings in the Console window?
On the menu panel's Standard UI Menu Panel component, is Deactivate On Hide ticked?
Re: Menu Panel showing up from the start after resetting conversation
Posted: Tue Jul 30, 2024 3:00 pm
by AJWantsToSleep
There are no warnings and Deactivate On Hide is ticked.
Re: Menu Panel showing up from the start after resetting conversation
Posted: Tue Jul 30, 2024 3:11 pm
by Tony Li
Can you send a
reproduction project to tony (at) pixelcrushers.com?
Re: Menu Panel showing up from the start after resetting conversation
Posted: Tue Jul 30, 2024 3:45 pm
by AJWantsToSleep
Hey, I actually found a really easy answer just now. Just had to set my MenuPanel on SetActive(false) when the Start of a Conversation is triggered.
Thank you for the help!
Re: Menu Panel showing up from the start after resetting conversation
Posted: Tue Jul 30, 2024 7:47 pm
by Tony Li
Hi,
I guess that'll work. But if you'd ever like to get to the bottom of the issue, feel free to send a reproduction project.