Sudden Error and Possibly a Missing Script?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
StephenC
Posts: 4
Joined: Thu Jun 30, 2022 2:00 pm

Sudden Error and Possibly a Missing Script?

Post by StephenC »

I have been working with the Dialogue System and using it alongside Timeline in Unity. This morning, I had everything working properly in my timeline. I've created a unique subtitle panel for a specific type of dialogue in my scenes. It's very simple, just white text. I've labeled it TL Subtitle (short for Timeline).

My timeline is very simple. I have a Start Conversation and then Continue Conversation nodes to progress the assigned conversation I set up in the dialogue system. This morning everything was working flawlessly. I saved and quit. I opened up later to continue work and now it no longer works. When I press play, all I see is the (TL Subtitle) holder text. The timeline progresses normally, but the text never appears properly. Before it was the typewriter effect.

I noticed these new errors and many saying a script is missing. I'm so confused as I didn't touch anything between this morning and now and not sure why it stopped working.
Attachments
Subtitle.JPG
Subtitle.JPG (44.71 KiB) Viewed 156 times
Timeline.JPG
Timeline.JPG (44.63 KiB) Viewed 156 times
Error.JPG
Error.JPG (123.56 KiB) Viewed 156 times
StephenC
Posts: 4
Joined: Thu Jun 30, 2022 2:00 pm

Re: Sudden Error and Possibly a Missing Script?

Post by StephenC »

UPDATE for more info... as I've been trying to debug I've found that if I set the subtitle panel number to default in the Dialogue actor script attached to my game object, the conversation plays.

When I set it to custom, and assign the custom subtitle panel that should play for this different style of dialogue, it doesn't work. The typewriter effect works but it just displays (TL Subtitle) not the conversation.
User avatar
Tony Li
Posts: 21975
Joined: Thu Jul 18, 2013 1:27 pm

Re: Sudden Error and Possibly a Missing Script?

Post by Tony Li »

Hi,

Try starting Unity. It might be a Unity bug.

Then make sure the TL Subtitle panel has a StandardUISubtitlePanel component.

If it still doesn't work, pause play mode as soon as you see the warning. Then check the actor's Dialogue Actor component. Is the correct GameObject assigned to the Custom Subtitle Panel field? Does that GameObject have a StandardUISubtitlePanel component?

The second set of warnings in your screenshot look like they're for your quest log window. It would be a good idea to check its setup, too.
Post Reply