Try to check your LoadGameInstance with IsValidLowLevel() before making changes to your int.
LoadGameInstance
IsValidLowLevel()