How to disable RVO in 4.3.15? [SOLVED]

Hi!

I was able to disable/enable rvo script when I need in 4.2 but in 4.3 this cause crashes in density job. Is there a way to do this with no crashes? Thanks!

Okay, I figured it out! In AIBase OnUpdate I changed:

  • for (int i = 0; i < count; i++) agentsWithRVOControllers += ((components[i].rvoController != null && components[i].rvoController.rvoAgent != null) ? 1 : 0);
  • if (agent.rvoController != null && agent.rvoController.rvoAgent != null) - 2 lines

and it works!

I was having same problem and did work arounds but was not pretty. I will have a look at this and hoping Aron can incorporate a similar fix in future updates. Thanks.

Yep. I’ve fixed this already in my dev version. The fix will be included in the next update.

1 Like