Small Areas

I get this messages:

10 small areas were detected (fewer than 10 nodes),these might have the same IDs as other areas, but it shouldn't affect pathfinding in any significant way (you might get All Nodes Searched as a reason for path failure).

If I understand it right, this means that there are areas of less than 10 nodes that are not connected to anything else in any way. I get that it shouldn’t affect the actual gameplay, but being a neat freak, I want to dispose of those areas that I ceirtanly won’t need. Is there a way to configure APathfinding in such a way so these areas would be just deleted upon detection?

Hi

Sorry, that is not possible right now. Or well, you can script it yourself relatively easily if you really want to, but it’s not built in. You can however decrease the Min Area Size in A* Inspector -> Settings to make sure all areas have the same area id. It will only fail if you have over 255 areas.

Thanks for the reply! At least, I understood everything correctly.

By the way, does AStarPathfinding have a github repo? I completely understand that part of the project is close-sourse and you profit from it, but may be the open-source part can benifit from the community help? Like the changes that you described above.

There is a git repo. But I haven’t found a way to make only the free version available through it, especially since I use my own custom written exporter scripts for the free version. If you own the pro version, I could give you access to it if you want.