HI I;ve got strange crash with physx.
it points to Physx_3.4/source/SimulationController/src/ScScene.cpp line:4354 at function void Sc::Scene::fireQueuedContactCallback which cannot find actorPair at code →
if(i < (nbActorPairs - 1) [
Ps::prefetchLine(actorPairs[ i+1 ];
}
I have found that this crash is issued with RigidBody when added event OnComponentHit. After removing OnComponentHit problem seems to be disapeared.
What should cause error like that ?
Getting same error randomly , when sometimes PhysX meshes are colliding between i believe landscape… Hope there will be solution for this… seems that one of actorsPairs is getting not valid pointer in memmory causing kind of memmory leak. In my case I use OnHitComponent for car body to detect hit impulses… So maybe we need to check&search somewhere where OnComponentHit is registering callbacks. Its hard to track as it is happening very randomly in between long periods
simmilar issue is here → Inexplicable random physics crash - C++ Programming - Unreal Engine Forums
i did post on Nvidia Forums about this.
Anyone solved this? It’s still in 4.22.3 
POSSIBLE SOLUTION
I’ve had random crashes caused by the event OnHitEvent between objects.
The reason on my side was that I’ve changed PHYSICS settings in the PROJECT SETTINGS.
So, try to set back everything to default and see if it still happens…
Here are my settings that I’ve copied from a blank project.
I really hope this helps! I’ve been struggling with this issue for 3 months…