Issue when changing scene

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
gothamgoblin
Posts: 6
Joined: Thu Sep 22, 2022 8:44 am

Issue when changing scene

Post by gothamgoblin »

Hi,

First, thanks for the great product. It has the potential to do what I need, once I understand it properly.

I'm creating a basic narrative adventure as a test project. An issue I'm having at the moment is when changing scene.

The prefab I am using is the Scrolling Dialogue UI. I'm using a sequencer to trigger a scene change on the last player response node. My preference is to always use the Continue - Always On option, as it breaks up the flow of the narrative and responses in a logical way. But when I use this option, there is a continue element that appears after the final dialog node, and sometimes this carries the dialog through to the next scene. As soon as I click continue in the new scene, the dialog ui disappears.

If I click continue during the transition fade, then sometimes the new scene dialog will show.

Ideally I would like the aggregated conversation to carry through to the new scene, but it's not strictly necessary.

I'm wondering if something is just causing the UI to unload in the new scene, or as there are no nodes after that last continue button, it has nothing to show so it disappears, rather than starts the conversation for that scene?

Sorry if some of this is basic, just learning my way around at the moment.

I forgot to add - I use a game object I called narrator, with the Dialogue System Trigger component to set which conversation should play in a scene, with the trigger set to on start.

Cheers
gothamgoblin
Posts: 6
Joined: Thu Sep 22, 2022 8:44 am

Re: Issue when changing scene

Post by gothamgoblin »

Well I've managed to fix the scene load issue. I changed the dialogue system trigger option on the subsequent scene to Replace, so it clears out the previous conversation that was carrying through.
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Issue when changing scene

Post by Tony Li »

Hi,

Thanks for using the Dialogue System! It sounds like you arrived at a solution. As an alternative, if you want it to continue without closing and then re-opening the dialogue UI, you can create a cross-conversation link. In the Dialogue Editor, inspect the final node of the first conversation. In the inspector's "Links To:" dropdown, select "(Another Conversation)". Then select the first node (i.e., the one linked from <START>) of the second conversation.
gothamgoblin
Posts: 6
Joined: Thu Sep 22, 2022 8:44 am

Re: Issue when changing scene

Post by gothamgoblin »

Aha! Fantastic. Cheers for the help.
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Issue when changing scene

Post by Tony Li »

Glad to help!
Post Reply