Here's a workaround void DestroyParticle(TGeometryParticleHandle<T, d>* Particle) { auto PBDRigid = Particle->CastToRigidParticle(); if(PBDRigid) { RemoveFromMapAndArray(PBDRigid, Ac ...