RVO Agents Overlap


I have spent about 8 hours trying to figure out why my RVOController agents are happy to overlap and even sync up. I’ve read the documentation and looked at the example scenes.

This is 2D. There are about 50 agents in the scene but only ever 2 in the same area for now. I copied the AI bots from the RVO 2D example scene into my scene and they work normally. I copied the AIPath and RVOController component values from the example bots onto my agents in the same scene, but my agents still do not avoid each other.

I am using an observer script to detect the player, so my agents’ target gets updated every frame in some cases. Not sure if that could be playing a role but I thought I’d mention it.

Thank you for help you can provide!


So everything works normally in the example scenes, but not in your own scenes?

Do you have an RVOSimulator component in your scene?