Error on start game

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Error on start game

Post by hrohibil »

Hello Tony

I am using the invector shooter controller as you know.
I use the extras menu framework as well. But for now I want to ensure that game functionality in the level works, so die respawn, adding kill and scores.

I have a dialogue trigger which is set to begin from the start.
As soon as i start game i get the below error message. It pauses the game, I can click unpause and game continues, until the next node where I swithc cam back to original it pauses again...


User avatar
Tony Li
Posts: 22145
Joined: Thu Jul 18, 2013 1:27 pm

Re: Error on start game

Post by Tony Li »

Hi,

Check the UnityEvents on your Dialogue Panel and subtitle panels. One of them is misconfigured, probably an OnClose Event.
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Re: Error on start game

Post by hrohibil »

Sorry Tony but what do you mean, where can i see the unity events?
Do the game has to be in play mode?

As you can see in my first node, I really don't have anything?

When i click the unpause, game continues, but i get same error on start and end of a conversation.



User avatar
Tony Li
Posts: 22145
Joined: Thu Jul 18, 2013 1:27 pm

Re: Error on start game

Post by Tony Li »

The Unity Events are set up in the inspector. Inspect the subtitle panel and look for OnClose()
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Re: Error on start game

Post by hrohibil »

Sorry for being NOOB..

I really need help on this..

hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Re: Error on start game

Post by hrohibil »

Ahh, you were right.
It was in my Dialogue system events.

I had a few components there not responding...

EDIT:
But at scene restarts, then my player misses references to the components in the dialogue system events?
How can ensure that my dragged in components survive a scene change?
User avatar
Tony Li
Posts: 22145
Joined: Thu Jul 18, 2013 1:27 pm

Re: Error on start game

Post by Tony Li »

Post Reply