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?
Menu Panel showing up from the start after resetting conversation
-
- Posts: 18
- Joined: Wed Jun 19, 2024 2:44 pm
Menu Panel showing up from the start after resetting conversation
- Attachments
-
- First Dialogue Node before CloseButton was pressed
- Screenshot 2024-07-30 161331.png (21.73 KiB) Viewed 555 times
-
- First Dialogue Node after CloseButton was pressed
- Screenshot 2024-07-30 161350.png (32.5 KiB) Viewed 555 times
Re: Menu Panel showing up from the start after resetting conversation
Hi,
What close button are you using?
Can you close the conversation by calling DialogueManager.StopConversation() instead?
What close button are you using?
Can you close the conversation by calling DialogueManager.StopConversation() instead?
-
- Posts: 18
- Joined: Wed Jun 19, 2024 2:44 pm
Re: Menu Panel showing up from the start after resetting conversation
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
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
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?
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?
-
- Posts: 18
- Joined: Wed Jun 19, 2024 2:44 pm
Re: Menu Panel showing up from the start after resetting conversation
There are no warnings and Deactivate On Hide is ticked.
Re: Menu Panel showing up from the start after resetting conversation
Can you send a reproduction project to tony (at) pixelcrushers.com?
-
- Posts: 18
- Joined: Wed Jun 19, 2024 2:44 pm
Re: Menu Panel showing up from the start after resetting conversation
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!
Thank you for the help!
Re: Menu Panel showing up from the start after resetting conversation
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.
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.