Nav mesh can't handle 35+ units?

You’re welcome :slight_smile:

Cheers,

–mieszko

Hello,

I am working on a RTS / tower defense project that involves spawning many units and having them automatically path towards a location. This is all working fine except for one issue: If 34 units are present on my nav mesh, any subsequently spawned units will be frozen in place.

At first I thought the issue was sporadic, but I narrowed it down to the quantity of units currently in my nav mesh. The results are consistent in that the first 34 units work, but 35 and up do not. However, if some of those units are destroyed, thus reducing the number below 34, units will once again path correctly when spawned.

I’ve looked all over for an answer to this but I can’t seem to find it. I have a feeling I am using the wrong keywords in my queries. Any help would be greatly appreciated.

Thanks!

Edit: I actually had 50 units in the game, not 35.

Thanks for the quick reply! It works.

Also, I realize now that I did actually have 50 units on the screen, not 35. I had forgotten I had some stored in another area not accessible to the player.