Adding a new GameState to my multiplayer project breaks my game

I’ve searched and people don’t seem to get this issue and is making me nervous as I do not know what I am doing wrong.

In the World Settings I have change the Game State Class from the default GameStateBase to my custom one and this change breaks the game. Nothing works when running the game. I really do not understand why. Do I need to reference my GameState somewhere else before it’s registered?

Please help!

PS: My custom game state is based on the correct GameState class, not GameStateBase class.

If your GameState class is based on GameState then make sure that your GameMode class is based on GameMode and not GameModeBase.

4 Likes

Dammit. I even know about this rule but on this project I did not check. Thanks it solved the issue. Sorry for wasting your time.

EDIT: How do I mark your post as the answer?

this is unbelievable. You rock man! But i can not understand why unreal stops playing. that should have a warning or stuff.