RobustToolbox
RobustToolbox copied to clipboard
Contact linkedlist exceptions
Noticed on FTL / cancollide stuff.

A similar error seems to have happened again recently:
Caught exception in entsys
System.InvalidOperationException: The LinkedList node does not belong to current LinkedList.
at Robust.Shared.Physics.Systems.SharedPhysicsSystem.DestroyContact(Contact contact) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Contacts.cs:line 344
at Robust.Shared.Physics.Systems.SharedBroadphaseSystem.RegenerateContacts(EntityUid uid, PhysicsComponent body, FixturesComponent fixtures, TransformComponent xform) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Physics/Systems/SharedBroadphaseSystem.cs:line 430
at Robust.Shared.Physics.Systems.SharedPhysicsSystem.TrySetBodyType(EntityUid uid, BodyType value, FixturesComponent manager, PhysicsComponent body, TransformComponent xform) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Components.cs:line 459
at Content.Shared.Construction.EntitySystems.AnchorableSystem.OnUnanchorComplete(EntityUid uid, AnchorableComponent component, TryUnanchorCompletedEvent args) in /home/runner/work/space-station-14/space-station-14/Content.Shared/Construction/EntitySystems/AnchorableSystem.cs:line 105
at Robust.Shared.GameObjects.EntityEventBus.EntDispatch(EntityUid euid, Type eventType, Unit& args) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 584
at Robust.Shared.GameObjects.EntityEventBus.RaiseLocalEvent(EntityUid uid, Object args, Boolean broadcast) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntityEventBus.Directed.cs:line 186
at Content.Shared.Tools.Systems.SharedToolSystem.OnDoAfter(EntityUid uid, ToolComponent tool, ToolDoAfterEvent args) in /home/runner/work/space-station-14/space-station-14/Content.Shared/Tools/Systems/SharedToolSystem.cs:line 52
at Content.Shared.DoAfter.SharedDoAfterSystem.TryComplete(DoAfter doAfter, DoAfterComponent component) in /home/runner/work/space-station-14/space-station-14/Content.Shared/DoAfter/SharedDoAfterSystem.Update.cs:line 135
at Content.Shared.DoAfter.SharedDoAfterSystem.Update(EntityUid uid, ActiveDoAfterComponent active, DoAfterComponent comp, TimeSpan time, EntityQuery`1 xformQuery, EntityQuery`1 handsQuery) in /home/runner/work/space-station-14/space-station-14/Content.Shared/DoAfter/SharedDoAfterSystem.Update.cs:line 80
at Content.Shared.DoAfter.SharedDoAfterSystem.Update(Single frameTime) in /home/runner/work/space-station-14/space-station-14/Content.Shared/DoAfter/SharedDoAfterSystem.Update.cs:line 28
at Robust.Shared.GameObjects.EntitySystemManager.TickUpdate(Single frameTime, Boolean noPredictions) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntitySystemManager.cs:line 306
Catcher=entsys Sawmill=runtime
A while after that error grafana got spammed with physics errors, which might be related?
Caught exception in entsys
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Robust.Shared.Physics.B2DynamicTree`1.MoveProxy(Proxy proxy, Box2& aabb, Vector2 displacement) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Physics/B2DynamicTree.cs:line 303
at Robust.Shared.GameObjects.EntityLookupSystem.AddOrUpdatePhysicsTree(EntityUid uid, EntityUid broadUid, BroadphaseComponent broadphase, TransformComponent broadphaseXform, PhysicsMapComponent physicsMap, TransformComponent xform, PhysicsComponent body, FixturesComponent manager) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/Systems/EntityLookupSystem.cs:line 398
at Robust.Shared.GameObjects.EntityLookupSystem.AddOrUpdateEntityTree(EntityUid broadUid, BroadphaseComponent broadphase, TransformComponent broadphaseXform, PhysicsMapComponent physicsMap, EntityUid uid, TransformComponent xform, Boolean recursive) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/Systems/EntityLookupSystem.cs:line 686
at Robust.Shared.GameObjects.EntityLookupSystem.OnMove(MoveEvent& args) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/Systems/EntityLookupSystem.cs:line 464
at Robust.Shared.Physics.Systems.SharedPhysicsSystem.UpdateBodies(IslandData& island, Vector2[] positions, Single[] angles, Vector2[] linearVelocities, Single[] angularVelocities, EntityQuery`1 xformQuery, EntityQuery`1 metaQuery) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Island.cs:line 1007
at Robust.Shared.Physics.Systems.SharedPhysicsSystem.SolveIslands(EntityUid uid, PhysicsMapComponent component, List`1 islands, Single frameTime, Single dtRatio, Single invDt, Boolean prediction) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Island.cs:line 669
at Robust.Shared.Physics.Systems.SharedPhysicsSystem.Solve(EntityUid uid, PhysicsMapComponent component, Single frameTime, Single dtRatio, Single invDt, Boolean prediction) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Island.cs:line 527
at Robust.Shared.Physics.Systems.SharedPhysicsSystem.Step(EntityUid uid, PhysicsMapComponent component, Single frameTime, Boolean prediction) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Physics/Systems/SharedPhysicsSystem.Island.cs:line 270
at Robust.Shared.Physics.Systems.SharedPhysicsSystem.SimulateWorld(Single deltaTime, Boolean prediction) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/Physics/Systems/SharedPhysicsSystem.cs:line 318
at Robust.Shared.GameObjects.EntitySystemManager.TickUpdate(Single frameTime, Boolean noPredictions) in /home/runner/work/space-station-14/space-station-14/RobustToolbox/Robust.Shared/GameObjects/EntitySystemManager.cs:line 306
Catcher=entsys Sawmill=runtime