I got this error from KinematicCharacterDeferredImpulsesSystem, and as you can see on the right side of the screenshot, the entity in the existing KinematicCharacterDeferredImpulse element is not valid.
I'm not touching the buffer directly, so I can't make sure added entities are valid (At least I don't know how, other than running a system before the ImpulsesSystem, that validates each element). I don't know if one of the KinematicCharacterUtil functions is affecting it though.
This happened when a projectile, which is destroyed after hit, hit the character.
So, what options are there? Would it be too expensive to just validate the entity with TryGetComponent? Is there a way to avoid certain entities to interact with this systems?