- Home /
Missing namespaces with A* Pathfinder Pro
Hey guys,
I installed A* Pathfinder Pro yesterday to a brand new project, and am getting 9 messages about missing namespaces. I also downloaded some other assets, but this was the last one I imported and there were no errors before that. I know sometimes this asset can find duplicate namespaces, but I'm not sure how to go about resolving missing ones? These are the errors I'm getting:
Assets/AstarPathfindingProject/Generators/Utilities/TileHandler.cs(5,19): error CS0234: The type or namespace name
ClipperLib' does not exist in the namespace
Pathfinding'. Are you missing an assembly reference?Assets/AstarPathfindingProject/Generators/Utilities/TileHandler.cs(6,19): error CS0234: The type or namespace name
Poly2Tri' does not exist in the namespace
Pathfinding'. Are you missing an assembly reference?Assets/AstarPathfindingProject/Generators/Utilities/TileHandler.cs(15,17): error CS0246: The type or namespace name
Clipper' could not be found. Are you missing a using directive or an assembly reference? -- Assets/AstarPathfindingProject/Generators/Utilities/TileHandler.cs(1150,37): error CS0246: The type or namespace name
IntPoint' could not be found. Are you missing a using directive or an assembly reference?Assets/AstarPathfindingProject/Navmesh/NavmeshCut.cs(330,63): error CS0234: The type or namespace name
ClipperLib' does not exist in the namespace
Pathfinding'. Are you missing an assembly reference?Assets/AstarPathfindingProject/Navmesh/NavmeshCut.cs(403,36): error CS0234: The type or namespace name
ClipperLib' does not exist in the namespace
Pathfinding'. Are you missing an assembly reference?Assets/AstarPathfindingProject/Navmesh/NavmeshCut.cs(408,58): error CS0234: The type or namespace name
ClipperLib' does not exist in the namespace
Pathfinding'. Are you missing an assembly reference?Assets/AstarPathfindingProject/Generators/Utilities/TileHandler.cs(5,19): error CS0234: The type or namespace name
ClipperLib' does not exist in the namespace
Pathfinding'. Are you missing an assembly reference?Assets/AstarPathfindingProject/Generators/Utilities/TileHandler.cs(6,19): error CS0234: The type or namespace name
Poly2Tri' does not exist in the namespace
Pathfinding'. Are you missing an assembly reference?
I've tried re-importing, I've tried downloading the asset from the website instead of the asset store, and I've tried closing and re-opening Unity. Short of just not using the asset, I haven't found a way around these errors. Any help would be awesome. Thanks!
does it help?
add
using ClipperLib;
?
well if it does than do the same for others, ...
I don't understand this errors very well, ...
Answer by atmuc · Dec 19, 2013 at 01:26 PM
this is from Aron;
Try right clicking on the AstarPathfindingProject/Plugins/Clipper/.dll file and choosing Reimport.
Answer by growling_egg · Dec 19, 2013 at 04:35 PM
The only file in AstarPathfindingProject/Plugins/Clipper is clipper_library.dll, so I reimported that, and now instead of 9 errors, I'm down to 2 errors, both of which say:
Assets/AstarPathfindingProject/Generators/Utilities/TileHandler.cs(6,19): error CS0234: The type or namespace name Poly2Tri' does not exist in the namespace
Pathfinding'. Are you missing an assembly reference?
As a side note, I tried reimporting clipper_library from the Plugins directory and I got the original 9 errors back again, but reimporting the one from the directory Aron suggested reduced them back to 2. So, it's almost working again, but not quite...
Your answer
![](https://koobas.hobune.stream/wayback/20220613124239im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Pathfinding Point and Click 0 Answers
Error message 0 Answers
namespace support in unity 1 Answer
C# Unity 3D Using functions from other files. 1 Answer
How to add a value to a line of code 1 Answer