InitRagdoll() on pawn behaving differently on map with many actors

This is a bit of a weird one, and I’ll welcome any suggestions on what may be causing this issue.

When enemies are killed in my game, I trigger InitRagdoll() on them, so they fall around all limp. This is the description of what this native function does:



/**
 * Does the following:
 *	- Assign the SkeletalMeshComponent 'Mesh' to the CollisionComponent
 *	- Call InitArticulated on the SkeletalMeshComponent.
 *	- Change the physics mode to PHYS_RigidBody
 */
native function bool InitRagdoll();


I’ve recently discovered that if there are many hundreds of actors on the map (like huge player-built bases), the collision on the pawn becomes very unreliable, to a point where they sometimes fall through the landscape.

Here is a short video, first showing the pawn collision on a map with very few static mesh actors. Then after on a map with hundreds of static mesh actors.

Note: Although in the video i’m unable to move the second pawn at all, usually the root bone still appears to have collision.

Thanks for the response @.

This would be very concerning if I’ve hit a limitation like this. I’ve been very careful to keep my collision meshes as simple as possible.

There doesn’t seem to be any frame-drop etc, which leads me to think this is a hard-coded limit somewhere (which i doubt is necessary on current hardware).

Any ideas of how I can begin to tackle this problem?

Thanks for your input @.

I don’t believe mesh complexity is the issue. I tried replacing all the actor meshes with a very simple mesh and the issue is still present.

However deleting a couple of these static mesh actors during gameplay does seem to temporarily fix the issue. But it’s not very predictable.

It certainly seems linked to the sheer number of static meshes spawned on the map, as it only seems to occurs for players that have build ginormous bases. It only seems to affect collision of skeletal meshes (like the bear skel mesh in the video).

I feel this one is going to be tricky to solve. I definitely appreciate any/all helps. Cheers

is your map a 10k one?ive recently noticed on my new 10k map that the nearer I get to the edge,the clunkier it seems-although there is not really a noticeable framerate drop.

even in the editor,if I move an actor it is like the grid snap is on,even when its not.

I don’t have any other bots in the map yet to test their physics, but I seem to randomly fall through the landscape.

any previous 10k maps ive done you couldn’t get to close to the edge because of the maps layout but the new one is open sea and you can get right to the edge.

I have the same problem, rigid bodies and apex cloth in the map edges have an oscilation, stronger as you are far from the center of the map. For cloth is not too bad… seems like wind. But for rigid bodies (boobs)… no.