Hey guys,
We’ve just purchased the latest version of the Pathfinding Projects and upgraded our files. It all seemed to go smoothly, but once we build out the game this error appears;
"Caught exception while deserializing data.
System.Exception: No graph of type ‘Pathfinding.LayerGridGraph’ could be created, type does not exist
at Pathfinding.Serialization.GraphMeta.GetGraphType (Int32 index, System.Type[] availableGraphTypes) [0x00076] in C:\Users\Suisieg\Documents\desync_project\DESYNC_2016_PROJECT\Assets\AstarPathfindingProject\Core\Serialization\JsonSerializer.cs:875
at Pathfinding.Serialization.AstarSerializer.DeserializeGraph (Int32 zipIndex, Int32 graphIndex, System.Type[] availableGraphTypes) [0x00009] in C:\Users\Suisieg\Documents\desync_project\DESYNC_2016_PROJECT\Assets\AstarPathfindingProject\Core\Serialization\JsonSerializer.cs:551
at Pathfinding.Serialization.AstarSerializer.DeserializeGraphs (System.Type[] availableGraphTypes) [0x0002c] in C:\Users\Suisieg\Documents\desync_project\DESYNC_2016_PROJECT\Assets\AstarPathfindingProject\Core\Serialization\JsonSerializer.cs:592
at Pathfinding.AstarData.DeserializeGraphsPartAdditive (Pathfinding.Serialization.AstarSerializer sr) [0x00049] in C:\Users\Suisieg\Documents\desync_project\DESYNC_2016_PROJECT\Assets\AstarPathfindingProject\Core\AstarData.cs:397
at Pathfinding.AstarData.DeserializeGraphsAdditive (System.Byte[] bytes) [0x00027] in C:\Users\Suisieg\Documents\desync_project\DESYNC_2016_PROJECT\Assets\AstarPathfindingProject\Core\AstarData.cs:368 "
The steps we took to upgrade were;
- Deleted all pathfinding relevant files from the project
- Reimported the new version
- Everything worked fine in editor, levels working fine, node generation fine, enemies working fine
I’ve checked the Astar Path objects in the scenes and they all seem fine.
Do you have any idea what this error is or how to look into it?
Thanks!