Can't Find Subtitle Panel For [Character] 'Line of Dialogue'

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
touchgoals
Posts: 5
Joined: Fri Mar 01, 2024 1:42 pm

Can't Find Subtitle Panel For [Character] 'Line of Dialogue'

Post by touchgoals »

Hi Tony,

I'm getting some strange errors that I'm having trouble fixing myself. Basically, I have a scene with a conversation that ends (and with debug info on it does say "conversation ending" in the console log, but I get an error on the line of dialogue with the (LoadLevel) sequence command on it that says "Can't Find Subtitle Panel For [Character] 'Line of Dialogue.' It still loads the new scene where the player selects what recipe they want to make (I'm making a cooking simulator), which then loads what is supposed to be another dialogue scene, but the dialogue UI doesn't show up and I get the same "Can't find subtitle panel" error . Oddly enough, the voice clip that's supposed to play on the first line of dialogue in this scene does play, but the UI doesn't show up. When I load the scene on its own instead of transitioning into it from the first scene, everything loads fine so I think the problem is in the transition, but I have no idea how to fix it.

I've attached some screenshots of what my editor looks like and the console messages I've been getting. Please help!
Screenshot 2024-06-08 133314.png
Screenshot 2024-06-08 133314.png (42.24 KiB) Viewed 148 times
Screenshot 2024-06-08 133256.png
Screenshot 2024-06-08 133256.png (31.96 KiB) Viewed 148 times
Screenshot 2024-06-08 133233.png
Screenshot 2024-06-08 133233.png (27.72 KiB) Viewed 148 times
Screenshot 2024-06-08 133110.png
Screenshot 2024-06-08 133110.png (52.67 KiB) Viewed 148 times
Screenshot 2024-06-08 130104.png
Screenshot 2024-06-08 130104.png (28.46 KiB) Viewed 148 times
touchgoals
Posts: 5
Joined: Fri Mar 01, 2024 1:42 pm

Re: Can't Find Subtitle Panel For [Character] 'Line of Dialogue'

Post by touchgoals »

Update: this appears to be the case for every scene transitioning into another one using the (LoadLevel) command
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can't Find Subtitle Panel For [Character] 'Line of Dialogue'

Post by Tony Li »

Hi,

If possible, make your dialogue UI a child of the Dialogue Manager (i.e., inside a Canvas in the Dialogue Manager's hierarchy). This post has screenshots and an explanation of what's probably going on: How To: Manage Player Controls and Scene Changes
Post Reply