Batch Instantiate different meshes

I am trying to populate a large terrain with objects (trees, rocks etc).

At the moment I am using a single Mesh/Material and give it positions/rotations in a IJobParallelFor.
But ideally I would like to use different meshes in the best way so I can just populate the Entities in parallel… or whatever is the fastest.

Any suggestions?

Have you tried IJobEntityBatch?

Thanks! that looks like a good way forward

1 Like

Just in a case, you don’t fall in the same trap I did, I leave this in here

In short, you want to keep low batch value.

1 Like