Hi! I am creating a virtual world in Unity, representing a crowded festival. I have found that animations are bottlenecking my application, because I have thousands of people, so I am looking for ways to improve the performance of animations.
Since most of the crowd is doing the exact same, I figured it would significantly improve the performance if I was able to share one animation between all these figures. So basically we would like Unity to calculate the animation for one instance and then share that between all the instances, so that they all have the same animation.
Looking around on the internet, I found little information about sharing one animation/animator instance between multiple gameobjects, so I hoped I could get a little hint here.
Is there anything like this possible in Unity? Can I make Unity calculate one animation and share it across multiple gameobjects?
Any help with this would be greatly appreciated.
We are using Unity 2019.1.0f1 so we can make full use of the new Entity Component System, if that makes any difference.
thank you in advance!