The Free version can be downloaded here. It is a Unity Package ready to be imported into any project. There are also example scenes in AstarPathfindingProject/Example Scenes.
A* Pathfinding Project (8953)
The Pro version can be bought here using PayPal
Or in the Unity Asset Store (search for it!)




“UnityPackage无论输入输出,都要放到非中文路径。否则很大可能就报错。只要非中文路径,一切正常”
Just found the problem, place PathfindingProject_Free at the path which do not include any chinese word.
unity 3.5.1.
get message “Error while importing package: Couldn’t decompress package”
i download the package and try to import it it says error could not decompress package what should i do?
Either the download is corrupt (try download it again), or you have a too old Unity version (it is supported from Unity 3.3 and up).
I have an issue to. I downloaded twice.
These are the errors I get right after I import the package:
Assets/AstarPathfindingProject/Modifiers/AlternativePath.cs(51,30): error CS0115: `AlternativePath.Apply(Path, Pathfinding.ModifierData)’ is marked as an override but no suitable method found to override
Assets/AstarPathfindingProject/Modifiers/FunnelModifier.cs(44,35): warning CS0109: The member `FunnelModifier.GetNextTarget(Path, UnityEngine.Vector3)’ does not hide an inherited member. The new keyword is not required
Assets/AstarPathfindingProject/Modifiers/FunnelModifier.cs(368,30): error CS0115: `FunnelModifier.Apply(Path, Pathfinding.ModifierData)’ is marked as an override but no suitable method found to override
Assets/AstarPathfindingProject/Modifiers/RaycastModifier.cs(52,30): error CS0115: `RaycastModifier.Apply(Path, Pathfinding.ModifierData)’ is marked as an override but no suitable method found to override
Assets/AstarPathfindingProject/Modifiers/SimpleSmoothModifier.cs(86,30): error CS0115: `SimpleSmoothModifier.Apply(Path, Pathfinding.ModifierData)’ is marked as an override but no suitable method found to override
Assets/AstarPathfindingProject/Modifiers/StartEndModifier.cs(55,30): error CS0115: `StartEndModifier.Apply(Path, Pathfinding.ModifierData)’ is marked as an override but no suitable method found to override
Used this package a LONG time ago, then had to redownload because I lost the file somehow. Loved it. Hopefully this is just on my end because I would like to get it set up and eventually buy the pro version once my project gets further along the production line.
Thanks,
Brandon
Update on what I posted, literally a minute ago.
Turns out the issue is that you put override on a few functions that didnt need it. Just delete those manually and the errors go away.
Ugh… I keep having to fix myself.
It should be overriding because you have a class Modifier and it implements it… but for some reason or another it doesn’t want to realize that Modifier contains Apply? I dunno…
Probably, you have another class in your project named either Modifier or MonoModifier. They will conflict with the A* classes (even though I think they are in a namespace). Look for the conflicting classes and either change the name of them, or put them in a namespace.
This library is just an endless serie of “Whoa, that’s a good idea” and “Damn, that’s great !”
Well done sir !
Great library. Works really well, well written, well documented and thought out. Atm I´m using the free version, will consider buying the full version.
I can see you put quite some time into it.
The first time I opened the A* Pathfinding Project (3663) in unity. It had all of the assets and example projects. Although, I decided to delete everything and redownload it because I changed some settings and wasnt sure if it was ok. When I redownload it, its missing the example projects and alot of scripts. What should I do?
Erm… That should definitely not be the case. Make sure all checkboxes are checked when you import the package. And also that you really did delete everything.
Could you upgrade this to unity 3.5? I get a lot of errors. For example when I set the width and depth of a graph node to 100,100 it shows many artefacts with a lot of triangles, scan doesn’t work, and a lot more
That’s the 60K vertex error. It’s a Unity bug as far as I know.
See http://arongranberg.com/astar/docs/faq.php
Hi!
I downloaded the free version, when I hit play, the compiler complains about this:
AstarPathEditor.cs(1197,138): error CS0117: `Int3′ does not contain a definition for `Precision’
(Among other things like “can’t convert from x to y” but I assume those can be quickly fixed with casting)
I’m currently using Unity 3.5 beta if that is what’s causing the problems. Should I downgrade?
Thanks!
Hi
My best guess is that you have got another class in your project which is named Int3. Then it will conflict with my class. If you find such a class, put it inside a namespace or change it’s name and everything will work as expected.
Yes that seemed to be the problem. I created a new project and it works flawlessly. Now on to the Int3 hunting
BTW, amazing inspector menu, I appreciate the care taken in this aspect. Wow.
after i download the package and try to import it it says error could not decompress package what should i do?
Can people who bought the Pro version for older versions get the updated pro version or do we have to re-buy it?
People who buy the pro version will receive an email with a download link. This link will always point to the latest version of the project (at least for the 3.x versions).
getting this : Error while importing package: Package has unknown format
Which version of Unity are you using? I haven’t seen that error before, but my guess is that your Unity version is too old. Though it might be that the download became corrupted for some reason, so if you have a relatively new version of Unity, try re-downloading the file.
hi