Page 1 of 1

Issue with display of the text bubbles

Posted: Fri Jul 11, 2025 9:23 am
by Taiyo
Hello everyone !

We are working on a game and we face a bug with the dialog manager or the UI.

We have several scenes in our game, some NPC of the 1st scene are not concerned but all the others are (among this scene and the others).

When we load the scene from the inspector there is no issue, but when we load another scene in game with the enter/exit of the previous one, the dialogs show up in the rectangle basic UI and not the one we did.

The NPC are variants sharing the same name through the different scenes, could this lead to the issue ?
How could we set this up correctly ?

Expected UI
Capture d’écran 2025-07-11 à 14.49.33.png
Capture d’écran 2025-07-11 à 14.49.33.png (704.04 KiB) Viewed 85 times
Error
Capture d’écran 2025-07-11 à 15.20.30.png
Capture d’écran 2025-07-11 à 15.20.30.png (977.23 KiB) Viewed 85 times
Thanks in advance for your time, have a great day !

Re: Issue with display of the text bubbles

Posted: Fri Jul 11, 2025 9:59 am
by Tony Li
Hi,

Please make sure the correct GameObject with the bubble dialogue UI is being used: Character GameObject Assignments, How To: Show Overhead Conversation Bubble Text.


Please see also How To: Manage Player Controls and Scene Changes. I suspect that since you're changing scenes some inspector reference is being lost. This article explains how to handle cross-scene references.

Re: Issue with display of the text bubbles

Posted: Fri Jul 11, 2025 10:53 am
by Taiyo
Thanks for the help Tony, I've tried the solution in the 3 forums, either it's already in place or it doesn't fix it.

We use a Dialog System moving with the player among the different scenes.
The Bubbles and NPC are correctly set up in their respective scenes.
We use the same name of actor for several NPC among the different scenes, but this should not lead to a problem if I understood this topic correctly : "Character GameObject Assignmentshttps://pixelcrushers.com/dialogue_syst ... ssignments"

We also noticed the Bubble prefab object doesn't activate after coming from another scene.

EDIT :
Expected behavior :
HTTP error lead to no image

Bubble is activated when the dialog is started

Result :
HTTP error lead to no image
It shows a une selected box even when we start the conversation


We don't know what may lead to this :/

Re: Issue with display of the text bubbles

Posted: Fri Jul 11, 2025 11:41 am
by Tony Li
Hi,

Can you send a reproduction project to tony (at) pixelcrushers.com?

If not, please use the Logging & Debugging Tips video to confirm that the correct GameObject (i.e., the one with the Dialogue Actor component) is being used as the primary actor or conversant.