21-01-2022, 04:39 PM
(21-01-2022, 03:57 PM)josemendez Wrote: For only 12 actors, AddActor() should be quite fast. I see no reason for it to trigger this.
I'm out of ideas at this point. Would it be possible for you to share with me a scene/project that reproduces this? You can send it to support(at)virtualmethodstudio.com, I will take a look and hopefully find the culprit.
(*)Edit: How many colliders do you have in your scene? in particular, how many MeshColliders? When a backend is first initialized, collider data is generated. If you have many different mesh colliders, the cost of building BVHs for all those can add up. That would explain that the amount of actors in the scene does not seem to affect performance, but this is just a guess.
kind regards,
Unfortunately I can't give you a scene, because it's a huge project that I can't share at all... but thank you for offering !
For colliders, there is like dozen of mesh colliders and box colliders, could it be the cause of all this ?
Excuse my ignorance but what are BVHs ?