Page 1 of 1

Error on start game

Posted: Thu Aug 04, 2022 7:43 am
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...



Re: Error on start game

Posted: Thu Aug 04, 2022 8:48 am
by Tony Li
Hi,

Check the UnityEvents on your Dialogue Panel and subtitle panels. One of them is misconfigured, probably an OnClose Event.

Re: Error on start game

Posted: Thu Aug 04, 2022 9:21 am
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.




Re: Error on start game

Posted: Thu Aug 04, 2022 9:38 am
by Tony Li
The Unity Events are set up in the inspector. Inspect the subtitle panel and look for OnClose()

Re: Error on start game

Posted: Thu Aug 04, 2022 9:51 am
by hrohibil
Sorry for being NOOB..

I really need help on this..


Re: Error on start game

Posted: Thu Aug 04, 2022 11:01 am
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?

Re: Error on start game

Posted: Thu Aug 04, 2022 7:18 pm
by Tony Li