Download

The game does not start on android 11

The game stopped starting after I added the save and load option to it. The game starts on android 8.1, but does not start on android 11 - crashes without error. Also, a UE4Game folder with logs is created on android 8.1, but not on android 11. Version UE - 4.25. Please, help.

This is how my save file is created in GameModeBase:





  - void AMyGameModeBase::CheckSave()
  - {


  - if (UGameplayStatics::DoesSaveGameExist(TEXT("save_01"), 0) == true)

  - {
[LIST]
  - GEngine->AddOnScreenDebugMessage(-1, 5.0f, FColor::Green, TEXT("Savefile already created"));
  - return;

  - }
  - UMySaveGame* MySave = Cast<UMySaveGame>(UGameplayStatics::CreateSaveGameObject(UMySaveGame::StaticClass()));
  - UGameplayStatics::SaveGameToSlot(MySave, TEXT("save_01"), 0);
  - GEngine->AddOnScreenDebugMessage(-1, 5.0f, FColor::Green, TEXT("Savefile created"));


}
[/LIST]