Cast To GameMode always fails

First of all ensure you have correct GameMode setup in project settings and in WorldSettings overrides on level.
If that’s not the case, on CastFailed you can print GameMode class name with PrintString, maybe this will give you a hint.