Custom subtitle panel not used on scene change

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
jonathancarroll
Posts: 5
Joined: Tue Jan 23, 2024 6:26 am

Custom subtitle panel not used on scene change

Post by jonathancarroll »

Hi Tony, I'm using custom subtitle and menu panels for my characters based on your Bubble Subtitle Example. When I change scenes using LoadLevel() via the sequence, the dialogue manager reverts to using the Basic Standard UI defined in the DialogueSystemController, not the custom panels of the characters in the new scene.
User avatar
Tony Li
Posts: 21679
Joined: Thu Jul 18, 2013 1:27 pm

Re: Custom subtitle panel not used on scene change

Post by Tony Li »

Hi,

Are your actors represented by GameObjects in each scene?

If so, do they have Dialogue Actor components? And, if so, do those Dialogue Actor components point to custom subtitle panels that are prefabs in the Project view, or panels that are children of the actor GameObjects, or something else?

If they point to subtitle panels in the Dialogue Manager's hierarchy but the actors don't survive scene changes the way the Dialogue Manager does, you'll need to remove that connection and handle it a different way, similarly to this article: How To: Manage Player Controls and Scene Changes
Post Reply