How to save variables from PlayerState during game exit?

I want to save PlayerState’s variables when player quits game. I tried to do it through call OnLogout event in GameMode, but it was unluckly, because variables in leaving player’s PlayerState became defaults at this moment.

So how to save variables from PlayerState during game exit?

1 Like

YES- I found solution- event OnEndPlay in PlayerState