A* Pathfinding Project

Bug that causes update asset message to popup every time


#1

AstarPathUpdateWindow.cs line
93 says
EditorPrefs.SetString(“AstarRemindUpdateDate”, DateTime.UtcNow.AddDays(7).ToString().ToString(System.Globalization.CultureInfo.InvariantCulture));

Commenting out the last ToString fixes the problem.

			EditorPrefs.SetString("AstarRemindUpdateDate", DateTime.UtcNow.AddDays(7).ToString()/*.ToString(System.Globalization.CultureInfo.InvariantCulture)*/);

#2

Interesting. May I ask what country you are from? (or more specifically which language you are using on your computer).


#3

Finnish language / keyboard. I think when you parse the datetime tou dont pass the invariant culture argument


#4

Ah, yeah that’s probably the issue. I will look into it.
Thanks for reporting this!