Collision Solution Uses Non-Contact Fixtures

Imagine a world with two bodies A and B that each have a circular fixture with radius r. Now imagine that body A has another circular fixture with radius 2*r, but using a subclass of ContactFilter we ensure that a collision always returns false if this large circle is involved.

Now, when I run a simulation B does not collide with the large circle as intended. However, when A and B collide, the collision takes into account this large circle (which should not collide with anything), meaning that A and B teleport away from each other until the edge of B meets up with the edge of this large circle instead of having the bodies come to rest near each other or naturally bounce off.

This is a simplified version of what's going on in my world, and I would like to know how to stop it. Thanks!
I think you could make the larger circle fixture a 'sensor' so that it does not respond to collisions.
Well the problem is that I want to to respond to some collisions (from enemies), but when the inner circle bumps into allies (who go through the larger circle), the collision gets all messed up 😢
It sounds like something is wrong with your 'ContactFilter', if the large circle suddenly becomes solid when another fixture is touched...
How about setting category/mask bits to define what the larger circle can hit.
Ah, the problem as on my end. My ContactFilter was fine, but when units crash into each other they spawn wreckage, which is neutral and so collides with the shield (despite being inside of it, which causes it to be pushed away). However thanks for the help, I was wracking my brain and was about to try the category/mask bits thing.

Original thread: https://box2d.org/forum/viewtopic.php?t=8889