Lyra sample project

Hi, Guys. I am working with Lyra and having an issue that the quit game function is not working when I try to quit the game the clients can’t get a response as the client doesn’t leave the game and is still stuck in the environment. can anyone guide me on this

Lyra quits the game like this:

That only works for the client that clicks the Quit Game Button. The server doesn’t exit. No other clients exit.

If you’re trying to “end the match” in game such that all clients finish the match and can start a new one, you’re looking for the Lyra Game Phase Subsystem. Docs here:

For example in B_TeamDeathMatchScoring Lyra uses the HandleVictory function in that BP to transition to the Phase_PostGame Game Phase, which stops the match from playing and sends all players to the end of match scoring report screen.

1 Like