Error on build on UWP : The type or namespace name `Ionic' does not exist in the namespace `Pathfinding'

I try to build my project for uwp with unity . The configuration is in the capture below :

unity say :
Assets/AstarPathfindingProject/Core/Serialization/JsonSerializer.cs(15,19): error CS0234: The type or namespace name Ionic' does not exist in the namespace Pathfinding’. Are you missing an assembly reference?

Any idea to help me ?


That configuration looks wrong. That dll file should be included in all platforms except the WSAPlayer platform. Right now it looks like it is only included in the WSAPlayer platform.

thanks for answer.
So I’ve to change the JsonSerializer.cs ?

If I change it to keep only
using ZipEntry = System.IO.Compression.ZipArchiveEntry;
using ZipFile = System.IO.Compression.ZipArchive;

I got an error too.

Those classes should only be used when building the UWP player. They do not exist in the editor.
That’s why the IF statement


is there. It will be active when the UWP player is being built. You should not have to modify that file.

My unity is in version2017.2.0f3 personal.

Do you think that there is a problem with my project configuration ?

Maybe, but first off you should not be changing the JsonSerializer.cs file.

It seems that unity not find

during the build.

I try to add it va nuget package in visual studio but the problem is still the same.