Create Session + Play As Listen Server

I’m building my game using the “Play As Listen Server” net setting with 2 players.

I recently noticed that when using custom events that execute on server which then trigger another event that is set to Multicast, depending on which window I ran the “Create Session” node initially will possibly break the game.

If I create the session with the “[NetMode: Server]” window, the game works. But If I use the “[NetMode: Client]” window, the events no longer replicate properly. How exactly am I supposed to be testing my game as I build it? A different net mode? Make sure to “Host” on the “[NetMode: Server]” window?

1 Like

there is a node called switch has authority

it switches on server and client

Is what I am doing the proper way to build my game?

Should I not test it using a “main menu” level that hosts a game session, instead just load the actual level where the game takes place? What NetMode should I be using?

1 Like