Dialogue not showing in game
-
- Posts: 6
- Joined: Fri Oct 04, 2024 12:58 am
Dialogue not showing in game
Hello! I am having trouble using the dialogue system.
I have been following the Youtube tutorials by Pixel Crushers and everything seems to be going well, with creating conversations, setting up triggers and so on, but then in Game Mode, the text box for the dialogue isn't showing.
When in Game Mode I have the Dialogue box open with the conversation I am trying to run. I have the conversation set to On Use, when I go to the trigger I have programmed, no text appears, but when I press the Hot key to start conversation the first node in the conversation turns green.
So I believe everything is programmed correctly, just the text isn't showing.
I tried changing the depth of the main camera because I read that might be the problem, but that didn't fix the issue.
Please any advice is welcomed!
I have been following the Youtube tutorials by Pixel Crushers and everything seems to be going well, with creating conversations, setting up triggers and so on, but then in Game Mode, the text box for the dialogue isn't showing.
When in Game Mode I have the Dialogue box open with the conversation I am trying to run. I have the conversation set to On Use, when I go to the trigger I have programmed, no text appears, but when I press the Hot key to start conversation the first node in the conversation turns green.
So I believe everything is programmed correctly, just the text isn't showing.
I tried changing the depth of the main camera because I read that might be the problem, but that didn't fix the issue.
Please any advice is welcomed!
Re: Dialogue not showing in game
Hi,
Let's narrow down the issue.
Please temporarily assign the "Basic Standard Dialogue UI" prefab to your Dialogue Manager GameObject's Display Settings > Dialogue UI field. Then play the scene and start the conversation. Do you see your conversation in the basic dialogue UI?
If not, are there any errors or warnings in the Console window?
Let's narrow down the issue.
Please temporarily assign the "Basic Standard Dialogue UI" prefab to your Dialogue Manager GameObject's Display Settings > Dialogue UI field. Then play the scene and start the conversation. Do you see your conversation in the basic dialogue UI?
If not, are there any errors or warnings in the Console window?
-
- Posts: 6
- Joined: Fri Oct 04, 2024 12:58 am
Re: Dialogue not showing in game
Hello,
Thank you for your response!
Basic Standard Dialogue UI, was selected the whole time and the dialogue didn't show.
Warnings and errors did pop up in the Console Window. Here are what they are:
Dialogue System: The scene is missing an EventSystem. Adding one.
UnityEngine.Debug:LogWarning (object)
Dialogue System: SelectorUseStandardUIElements can't find a StandardUISelectorElements component in the scene.
UnityEngine.Debug:LogWarning (object,UnityEngine.Object)
Coroutine couldn't be started because the the game object 'Basic Standard Quest Tracker HUD' is inactive!
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator)
Thank you for your response!
Basic Standard Dialogue UI, was selected the whole time and the dialogue didn't show.
Warnings and errors did pop up in the Console Window. Here are what they are:
Dialogue System: The scene is missing an EventSystem. Adding one.
UnityEngine.Debug:LogWarning (object)
Dialogue System: SelectorUseStandardUIElements can't find a StandardUISelectorElements component in the scene.
UnityEngine.Debug:LogWarning (object,UnityEngine.Object)
Coroutine couldn't be started because the the game object 'Basic Standard Quest Tracker HUD' is inactive!
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator)
Re: Dialogue not showing in game
Hi,
The Dialogue Manager GameObject should have a child GameObject named "Canvas". Is this child GameObject active?
Does DemoScene1 play conversations properly?
Please try this in your scene:
1. Remove the Dialogue Manager GameObject.
2. Add this prefab to the scene: Assets > Plugins > Dialogue System > Prefabs > Dialogue Manager.
3. Assign your dialogue database to the new instance of the Dialogue Manager prefab that you added to the scene.
Then play the scene and let me know if the conversation appears.
The Dialogue Manager GameObject should have a child GameObject named "Canvas". Is this child GameObject active?
Does DemoScene1 play conversations properly?
Please try this in your scene:
1. Remove the Dialogue Manager GameObject.
2. Add this prefab to the scene: Assets > Plugins > Dialogue System > Prefabs > Dialogue Manager.
3. Assign your dialogue database to the new instance of the Dialogue Manager prefab that you added to the scene.
Then play the scene and let me know if the conversation appears.
-
- Posts: 6
- Joined: Fri Oct 04, 2024 12:58 am
Re: Dialogue not showing in game
Yes it works! Thank you so much! Much appreciated!
Re: Dialogue not showing in game
Glad to help!
If you're still having difficulty with your original scene (before swapping in a good copy of the Dialogue Manager) and you'd like help with it, just let me know.
If you're still having difficulty with your original scene (before swapping in a good copy of the Dialogue Manager) and you'd like help with it, just let me know.
-
- Posts: 6
- Joined: Fri Oct 04, 2024 12:58 am
Re: Dialogue not showing in game
Well, when I did delete and replace the Dialogue Manager, all the interactables on the game stop working. The portals to other scenes, the interactable talk button and pick up button.
Do you know why this could be happening?
Do you know why this could be happening?
Re: Dialogue not showing in game
Hi,
Are there any errors or warnings in the Console window?
Are there any errors or warnings in the Console window?
-
- Posts: 6
- Joined: Fri Oct 04, 2024 12:58 am
Re: Dialogue not showing in game
Yes there are lots of these warnings -
NullReferenceException:Object reference not set an instance of an object. TransitionEnvironmentTrigger.Update() (at Assets/Everything/Prefabs/TransitionEnviromentTrigger.cs:47)
NullReferenceException:Object reference not set an instance of an object. TransitionEnvironmentTrigger.Update() (at Assets/Everything/Prefabs/TransitionEnviromentTrigger.cs:47)
Re: Dialogue not showing in game
Hi,
That isn't a part of the Dialogue System. Can you fix that error and then check if there are any other errors, in particular Dialogue System-related errors?
That isn't a part of the Dialogue System. Can you fix that error and then check if there are any other errors, in particular Dialogue System-related errors?