Issue loading graphs on PS4 with non english system language

Hi!

Really urgent issue… Just launched our game and people with a French or Polish system language (on PS4) get this error:

00:16:57 Caught exception while deserializing data.
00:16:57 System.FormatException: Unknown char: .
00:16:57 at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000] in :0
00:16:57 at System.Single.Parse (System.String s) [0x00000] in :0
00:16:57 at Pathfinding.Serialization.TinyJsonDeserializer.Deserialize (System.Type tp, System.Object populate) [0x0004e] in D:\Projects\Korix\Assets\AstarPathfindingProject\Core\Serialization\TinyJson.cs:147
00:16:57 at Pathfinding.Serialization.TinyJsonDeserializer.Deserialize (System.Type tp, System.Object populate) [0x003ed] in D:\Projects\Korix\Assets\AstarPathfindingProject\Core\Serialization\TinyJson.cs:219
00:16:57 at Pathfinding.Serialization.TinyJsonDeserializer.Deserialize (System.String text, System.Type type, System.Object populate) [0x00000] in D:\Projects\Korix\Assets\AstarPathfindingProject\Core\Serialization\TinyJson.cs:130
00:16:57 at Pathfinding.Serialization.AstarSerializer.DeserializeGraph (Int32 zipIndex, Int32 graphIndex) [0x0006c] in D:\Projects\Korix\Assets\AstarPathfindingProject\Core\Serialization\JsonSerializer.cs:550
00:16:57 at Pathfinding.Serialization.AstarSerializer.DeserializeGraphs () [0x00026] in D:\Projects\Korix\Assets\AstarPathfindingProject\Core\Serialization\JsonSerializer.cs:576
00:16:57 at Pathfinding.AstarData.DeserializeGraphsPartAdditive (Pathfinding.Serialization.AstarSerializer sr) [0x0002f] in D:\Projects\Korix\Assets\AstarPathfindingProject\Core\AstarData.cs:330
00:16:57 at Pathfinding.AstarData.DeserializeGraphsAdditive (System.Byte[] bytes) [0x00023] in D:\Projects\Korix\Assets\AstarPathfindingProject\Core\AstarData.cs:287
00:16:57 UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
00:16:57 UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
00:16:57 UnityEngine.Logger:Log(LogType, Object)
00:16:57 UnityEngine.Debug:LogError(Object)
00:16:57 Pathfinding.AstarData:DeserializeGraphsAdditive(Byte[]) (at D:\Projects\Korix\Assets\AstarPathfindingProject\Core\AstarData.cs:298)
00:16:57 Pathfinding.AstarData:DeserializeGraphs(Byte[]) (at D:\Projects\Korix\Assets\AstarPathfindingProject\Core\AstarData.cs:272)
00:16:57 Pathfinding.AstarData:LoadFromCache() (at D:\Projects\Korix\Assets\AstarPathfindingProject\Core\AstarData.cs:192)
00:16:57 Pathfinding.AstarData:Awake() (at D:\Projects\Korix\Assets\AstarPathfindingProject\Core\AstarData.cs:162)
00:16:57 AstarPath:InitializeAstarData() (at D:\Projects\Korix\Assets\AstarPathfindingProject\Core\AstarPath.cs:1272)
00:16:57 AstarPath:Awake() (at D:\Projects\Korix\Assets\AstarPathfindingProject\Core\AstarPath.cs:1174)

Then:

“There are no graphs in the scene”.

If they set their system language to English, it works fine.

All my levels are using cached graphs, stored in “Levelname.bytes” in Assets\GraphCaches

Any ideas?

…Hm. I really thought I had answered this one via email or a PM, but I cannot find it right now.
I’m really sorry if that was not the case and you have waited for a long time.

In any case. This was a bug in a previous beta version. It has been fixed in the latest release as well as in the latest beta.

You had! :slight_smile: My apologies for not updating this post.