Cannot disable rvo at runtime

I am trying to toggle RVO at runtime but its not getting disabled, rvo.enabled = false;.

Is this the wrong way to do it?

Hi

That looks correct as long as the rvo variable is a RVOController component.

It is, I noticed something happens somewhere that re-enables it. I suspect its in my end actually. Ill let you know otherwise.

1 Like