Code: Select all
private bool TryGetSavedFileApplicationVersion(ES3Settings es3Settings, out string applicationVersion)
{
applicationVersion = string.Empty;
try
{
if (!ES3.KeyExists(SaveKeyApplicationVersion, es3Settings))
return false;
}
catch (Exception e)
{
HandleException($"{LocalizedHints.LoadErrorHint}_{Application.version}", e.Message, e);
return false;
}
try
{
applicationVersion = ES3.Load<string>(SaveKeyApplicationVersion, es3Settings);
return true;
}
catch (Exception e)
{
HandleException($"{LocalizedHints.LoadErrorHint}_{Application.version}", e.Message, e);
}
return false;
}
This issue cannot be reproduced reliably (happens randomly).
Unity Version: 2021.3.5f1
ES3: 3.5.6
Please help!