Save Game in c++ ue5


Could someone tell to me why in this line : GameSlotSaveGame = Cast<UGameSlotSaveGame_CPP>(UGameplayStatics::LoadGameFromSlot(“SaveGameSlot”, 0)); Why all variables of this class are empty