便利なGameModeとGameStateだが、少し引っかかったことがあったのでメモ。
GameModeBase継承クラスを作ってそれにGameState継承クラスを登録したら以下のようなエラーを吐いた。
LogGameState: Error: Mixing AGameState with AGameModeBase is not compatible. Change AGameModeBase subclass (BP_○○GameMode_C) to derive from AGameMode, or make both derive from Base
GameModeBaseクラスにGameState継承クラスを持たせることは出来ないらしい。つまりGameStateクラスを持つことが出来るのはGameModeBaseを継承したGameModeクラスだけだということ。図で表すとこんな感じ。
要注意。