I am porting the game into XboxOne and I would like to minimize the dlls that A* project plugin loads, if possible.
This is to reduce initial loading time which is very tight, so if there are any dlls that I can safely ignore, not load please let me know. Also if there are dlls that can be ignored, how can I do this? Delete them from the project?
Currently I think these dlls are related to a* project plugin.
This depends on the graph type that you are using, which one are you using?
In my dev version I have actually written a really tiny json serializer/deserializer to replace the JsonFx library, I could send you a bleeding edge build if you want. The zip library can be removed by following the instructions here: http://arongranberg.com/astar/docs/iphone.php (in particular the ASTAR_NO_ZIP part).
Ok. In that case the above is what you can do. The poly2tri dll is required.
I am not sure why you have 2 poly2tri dll files however? Maybe one of them has been left behind after an upgrade? You should be able to delete one of them, probably the poly2tri.dll file.
Assets/AstarPathfindingProject/Core/Serialization/JsonConverters.cs(3,33): error CS0234: The type or namespace name JsonFx' does not exist in the namespacePathfinding.Serialization’. Are you missing an assembly reference?
When I try to build windows stand alone build…
This is after following the instruction to not use zip and json stuff you have mentioned above.
I have deleted the dlls and the added compiler options.
– Edit –
I have commented out using jsonfx line from JsonConverters and it seems to build! Perhaps this needs a fix in your side as well?
Yeah seems to be a line of code that I had forgot to wrap in #if !ASTAR_NO_JSON.
In my dev version that whole file has been removed, so it should not cause any troubles in future versions.
I think that may be a bug in a 3rd party library that I am using. I have encountered it on a few rare occasions, but I haven’t been able to track down why it is happening. I have no idea why that would start to happen because of these changes, but try to just tweak a setting a tiny bit, you have probably encountered an edge case.
This doesn’t seem to break the game, so can we change it so that it is not logged as error? or warning? Or how do I capture it so that I can ignore it?