Hi all,
I have been working with no problems up to Unity3d 4.5 and previous pathfinding lib version.
Two weeks ago I updated to Unity3d 5.0.1f1 and yesterday to A pathfinding v3.6* because of some Windows phone build problems (not yet resolved, though… but that’s another story…).
Now, I realized that bots were not working as expected while performing some regression testings and actually it is.
So I checked the Astar pathfinding configuration and found that it had been actually modified somehow possibly due to the lib version upgrade.
Now, I cannot even save a scene anymore, since I have the following error
ArgumentNullException: Argument cannot be null.
Parameter name: s
System.Text.Encoding.GetByteCount (System.String s) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Text/Encoding.cs:207)
System.Text.UTF8Encoding.GetByteCount (System.String chars) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Text/UTF8Encoding.cs:1045)
System.IO.BinaryWriter.Write (System.String value) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/BinaryWriter.cs:281)
Pathfinding.Serialization.AstarSerializer.SerializeMeta () (at Assets/AstarPathfindingProject/Core/Serialization/JsonSerializer.cs:343)
Pathfinding.Serialization.AstarSerializer.CloseSerialize () (at Assets/AstarPathfindingProject/Core/Serialization/JsonSerializer.cs:253)
AstarPathEditor+c__AnonStorey1.<>m__1 (Boolean force) (at Assets/AstarPathfindingProject/Editor/AstarPathEditor.cs:2379)
AstarPath.ProcessWorkItems (Boolean force) (at Assets/AstarPathfindingProject/Core/AstarPath.cs:981)
UnityEditor.DockArea:OnGUI()
so, any modification on AStar grid config now won’t be saved (I am utilizing a grid graph).
Does anybody have an idea of the cause/solution?
Thanks all in advance for any precious help provided
Best Regards,
Emils