![Image](https://media.discordapp.net/attachments/1222684711529218118/1222684711848247396/Untitled-1.jpg?ex=66171cdf&is=6604a7df&hm=4aa5456d3d2d433e2cb50c414d8447053897c0fd70b67ceca09f98aa5086576a&=&format=webp&width=1620&height=696)
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!