I've recently released my game and I'm getting some exception reports back. I've tracked them all down except for one.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at FarseerPhysics.Collision.DynamicTree`1.Query(Func`2 callback, AABB& aabb)
at FarseerPhysics.Collision.BroadPhase.UpdatePairs(BroadphaseDelegate callback)
at FarseerPhysics.Dynamics.World.Solve(TimeStep& step)
at FarseerPhysics.Dynamics.World.Step(Single dt)
at SnowSpill.GamePlayer.GameLoop_Tick(Object sender, TickEventArgs e)
Unfortunately I don't have line numbers. All I really know is that this has happened around 9 times in around 22,000 words.
My best guess would be that a body or shape is added or removed while the world is stepping, but I just don't see how that's possible with my code.
Does anybody have any suggestions or ideas about what could be the cause of this?