Page 1 of 1
Problems with SetMenuPanel sequence
Posted: Wed Jul 16, 2025 4:47 am
by pixelemm
Hi Tony!
I've recently ran into a pretty frustrating problem which I'm hoping you may have an idea of what's going on.
I've set up the StandardDialogueUI to have 2 different menu panels.

- Screenshot 2025-07-16 162423.png (634.12 KiB) Viewed 177 times
In the Dialogue Entry Sequence field I've tried calling the SetMenuPanel command however it doesn't seem to be working. I've made sure that the actor names are correct.

- Screenshot 2025-07-16 162328.png (443 KiB) Viewed 177 times

- Screenshot 2025-07-16 162356.png (384.79 KiB) Viewed 177 times

- Screenshot 2025-07-16 162608.png (56.83 KiB) Viewed 177 times
Yet in a later part of the conversation, for some reason it works.

- Screenshot 2025-07-16 163705.png (58.58 KiB) Viewed 177 times

- Screenshot 2025-07-16 164401.png (693.05 KiB) Viewed 177 times
Re: Problems with SetMenuPanel sequence
Posted: Wed Jul 16, 2025 8:03 am
by Tony Li
Hi,
I'll need to get some more information.
Is Kosuzu a player or NPC actor? (Is its "Is Player" checkbox ticked?)
Are the NPCs and/or player represented by GameObjects? If so, do those GameObjects have Dialogue Actor components? If they do, what are the values in their Dialogue UI Settings sections?
Are there any errors or warnings in the Console window?
Re: Problems with SetMenuPanel sequence
Posted: Wed Jul 16, 2025 11:15 pm
by pixelemm
Thanks so much for your reply!
I was fiddling with my conversation and got it to work. I just removed a custom lua method that was called early on in the conversation. It was a method that started an async load level. No idea why it caused the SetMenuPanel to stop working.
But just for completeness sake here are the answers to your questions:
- Kosozu and Captain Basildor are NPCs
- All actors are represented by GameObjects and have Dialogue Actor Components added.
- The values in their Dialogue UI Settings sections are set to defualt
- There were no errors or warnings in the Console window
Re: Problems with SetMenuPanel sequence
Posted: Thu Jul 17, 2025 10:04 am
by Tony Li
Thanks for the info. I have no idea either why the async load level caused SetMenuPanel to stop working. Since your NPCs have Dialogue Actor components, you should have seen that the Dialogue UI Settings > Menu Panel Number changed when the SetMenuPanel() sequencer commands ran. Anyway, I'm glad you got it to work.