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:
<ul>
<li>
void AMyGameModeBase::CheckSave()
</li>
<li>
{
</li>
<ul>
<li>
if (UGameplayStatics::DoesSaveGameExist(TEXT("save_01"), 0) == true)
</li>
<li>
{
</li>
<ul>
<li>
GEngine->AddOnScreenDebugMessage(-1, 5.0f, FColor::Green, TEXT("Savefile already created"));
</li>
<li>
return;
</li>
</ul>
<li>
}
</li>
<li>
UMySaveGame* MySave = Cast<UMySaveGame>(UGameplayStatics::CreateSaveGameObject(UMySaveGame::StaticClass()));
</li>
<li>
UGameplayStatics::SaveGameToSlot(MySave, TEXT("save_01"), 0);
</li>
<li>
GEngine->AddOnScreenDebugMessage(-1, 5.0f, FColor::Green, TEXT("Savefile created"));
</li>
</ul>
<li>
}
</li>
</ul>