Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by growling_egg · Dec 15, 2013 at 10:42 PM · namespaceerror-messageexternal assetspathfind

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!

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image atmuc · Dec 19, 2013 at 01:24 PM 0
Share

i have the same problem, have you solved this?

avatar image sdgd · Dec 19, 2013 at 01:27 PM 0
Share

does it help?

add

  using ClipperLib;

?

well if it does than do the same for others, ...

I don't understand this errors very well, ...

2 Replies

· Add your reply
  • Sort: 
avatar image
1

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

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...

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

18 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges