CopyProperties Between Game Modes During Map Travel

With PlayerStates, there is a CopyProperties function that is used during map travel so that the PlayerState in the new map can retrieve info from the previous map.

Is there a similar function that will accomplish this with GameModes as well?

I’m travelling between maps that have different GameModes and I’d like to carry some information from the previous mode to the new mode.

I would like to know that, as well. I’m having the exact same scenario. I can’t use PlayerState because I need to keep information on AI and such, which don’t have a PlayerState.

Either of you figure this out?

If you want to keep some informations on GameMode you can set those variables to the GameInstance and use it from your GameMode.

You can also use GameInstance as a payload to pass variables to the new gamemode, override the ProcessServerTravel() and PostSeamlessTravel(), on the first one set variable to GameInstance, and on post set variables from GameInstance to the new GameMode.