I have been working on a pathfinding solution for unity3d and I would like some feedback on it. I have decided to make it open source incase anybody has some improvements they would like to implement.
Current Version: 1.4.0
Current Features:
- A query system to make things more smooth
- An advanced example which contains smelling (with wind), seeing and flocking.
- It has been built for procedural terrains
- Audio Sensors
- Flying AI for birds and spaceships etc.
- Spherical grids
Currently plans:
- Release on asset store.
- Real-time object avoidance. (1.5.0)
- Add Passive state, only flee when attacked. (1.5.0)
- Add smoothing function for path (To prevent clunky movement)
Screenshots:

GitHub: GitHub - Unknown-Studios/OnePathfinding: A* Pathfinding solution for unity3d
Documentation: http://unknown-studios.com/OnePathDocs/
Webplayer: http://unknown-studios.com/OnePathfinding/
Website: http://unknown-studios.com
Website Forum: http://forum.unknown-studios.com
Any feedback is greatly appreciated.
2312686–161077–OnePathfinding.unitypackage (341 KB)
5 Likes
I have just updated the project with these updates:
Version 1.1.0:
- Fixed Scared animals not fleeing combat, but engaging it.
- Added Audio sensor support.
- Added AudioScript.cs which can be attached to external audio sources.
- Added support for spawning multiple gameobjects from Test.cs script.
- Added option to change how many AIs is spawned by Test.cs
- Added option on AIData to enable/disable respawning.
- Added a new example of a scared AI
- Improved AntiFly script
Any opinions or ideas on this project would be gladly accepted.
this is amazing dont understand why no ones commented , ill test this out later on and let you know what i think about , but from what i see it looks great , you should release it on the assetstore even if free.
My plan for the asset was to release it for free, but I wanted some feedback on it before posting it on the assetstore.
i see , if you could can you maybe add a test scene so i know how its all setup cause right now im totally confused
There is an rampe scene under Plugins/Scene/
It is called Example
I see yes I saw a scene folder but inside is only a script called example.cs, I think maybe when you exported the files the scene got excluded .
Will tale a look at that, have you tried reimporting the package to check og you have any missing files?
ill do that just to double check , also a good tip , add a namespace to your files , cause there is a conflict with a*pathfinding project asset .
I have a namespace, but it might be the same as A*'s, I will change it just to be sure, will be included in 1.1.3
great stuff so far , i made a voxel engine for unity and released on the assetstore(still pending review ), im wondering if this will work with it ?
anyway great work , can’t wait to see the polished version on the assetstore.
I suppose it would work fine. If not please tell what isn’t working and I will try to work out a solution for it. 
awesome thanks ill test the new version now and let you know how it goes.
I have just submitted it to the asset store, hoping for a better result this time 
Version 1.3.0 (The polisher)
- Fixed all remaining StackOverflowExceptions
- Added Documentation to the website: http://unknown-studios.com/OnePathDocs/
- Made every variable in the plugin documented. If I missed one please feel free to contact me.

- Fixed errors caused by not having the AI tag in the tagmanager. (This tag isn’t needed anymore)
- Relocated the Example scene to Plugins/OnePathfinding/Examples/
- (AdvancedAI.cs) Fixed scared animals not fleeing.
- (AdvancedAI.cs) Fixed AI not being percistent enough.
- (AdvancedAI.cs) Agents in a flock will move towards the master if he isn’t visible.
- (AdvancedAI.cs) Fixed Flying AI agents not looking the direction that they are flying.
- (GridManager.cs) Fixed bug where A* would continue to search all of the terrain if there wasn’t a path between start and end positions.
- (GridManager.cs) Center is now called Offset, as it was more of an offset than a center for the grid.
- (AntiFly.cs) Fixed Agents able to fall off the terrain.
- (AISpawner.cs) Fixed bug which caused some AIs to have the wrong name after being created.
1 Like