Animating tons of 'Same Objects' at different animation frames

Those will be crops you can plant, and the player can pretty much plant plenty. Like 2k of those.
The animations are pretty simple, done with Animation window and played through a Animation monobehaviour

I’ve been thinking of giving the ECS animation a try, but it seems to be only for HDRP and I actually don’t use any pipeline, And I don’t even know if that will even be fast.

What are some good solutions for drawing multiple animated objects at once in ecs?

Here is one project: https://github.com/Unity-Technologies/Unity.Animation.Samples
Some performance metrics here: I need a Universal Render Pipeline Version Animation Sample!!!Thank you !!! · Issue #1 · Unity-Technologies/Unity.Animation.Samples · GitHub

I was able to get 2500 entities rendering at 30 “Editor FPS” (should be a lot more in a proper build)

2 Likes

@nicolasgramlich nice work getting URP and Unity.Animation to work together. I can imagine that was a lot of hours trying different package combinations. Thanks for sharing what you learned.