Space Engineers

Space Engineers

Simple Shields
Anubis 1 May, 2021 @ 10:24am
CTD when colliding with protected grid.
Got a CTD when the connector rubberbands me into a protected grid alot of the blocks turned green before the crash, I do have another shield mod but errors with that one tend to say darkstar this one doesn't which is why I'm posting it here. Got this in the log:
2021-05-01 10:14:34.071 - Thread: 11 -> IAShields exception: System.NullReferenceException: Object reference not set to an instance of an object.
at VRage.Game.Components.MyHierarchyComponentBase.RemoveChild(IMyEntity child, Boolean preserveWorldPos)
at VRage.Game.Entity.MyEntity.RefreshModels(String model, String modelCollision)
at Sandbox.Game.Entities.MyCubeBlock.UpdateVisual()
at Sandbox.Game.Entities.Cube.MySlimBlock.UpdateVisual(Boolean updatePhysics)
at Sandbox.Game.Entities.MyCubeGrid.ChangeColorAndSkin(MySlimBlock block, Nullable`1 newHSV, Nullable`1 skinSubtypeId)
at Sandbox.Game.Entities.MyCubeGrid.OnColorBlock(Vector3I min, Vector3I max, Vector3 newHSV, Boolean playSound, Int64 player)
at Sandbox.Game.Entities.MyCubeGrid.OnColorBlock<>VRageMath_Vector3I#VRageMath_Vector3I#VRageMath_Vector3#System_Boolean#System_Int64.Invoke(MyCubeGrid& this, Vector3I& min, Vector3I& max, Vector3& newHSV, Boolean& playSound, Int64& player, DBNull& arg6)
at VRage.Network.MyReplicationLayerBase.InvokeLocally[T1,T2,T3,T4,T5,T6,T7](CallSite`7 site, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
at VRage.Network.MyReplicationLayer.DispatchEvent[T1,T2,T3,T4,T5,T6,T7,T8](CallSite callSite, EndpointId recipient, Nullable`1 position, T1& arg1, T2& arg2, T3& arg3, T4& arg4, T5& arg5, T6& arg6, T7& arg7, T8& arg8)
at VRage.Network.MyReplicationLayerBase.RaiseEvent[T1,T2,T3,T4,T5,T6,T7](T1 arg1, T7 arg7, Func`2 action, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, EndpointId endpointId, Nullable`1 position)
at Sandbox.Game.Entities.MyCubeGrid.ColorBlockRequest(Vector3I min, Vector3I max, Vector3 newHSV, Boolean playSound, Int64 player)
at Sandbox.Game.Entities.MyCubeGrid.ColorBlockRequest<>VRageMath_Vector3I#VRageMath_Vector3I#VRageMath_Vector3#System_Boolean#System_Int64.Invoke(MyCubeGrid& this, Vector3I& min, Vector3I& max, Vector3& newHSV, Boolean& playSound, Int64& player, DBNull& arg6)
at VRage.Network.MyReplicationLayerBase.InvokeLocally[T1,T2,T3,T4,T5,T6,T7](CallSite`7 site, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
at VRage.Network.MyReplicationLayer.DispatchEvent[T1,T2,T3,T4,T5,T6,T7,T8](CallSite callSite, EndpointId recipient, Nullable`1 position, T1& arg1, T2& arg2, T3& arg3, T4& arg4, T5& arg5, T6& arg6, T7& arg7, T8& arg8)
at VRage.Network.MyReplicationLayerBase.RaiseEvent[T1,T2,T3,T4,T5,T6,T7](T1 arg1, T7 arg7, Func`2 action, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, EndpointId endpointId, Nullable`1 position)
at Sandbox.Game.Entities.MyCubeGrid.ColorBlocks(Vector3I min, Vector3I max, Vector3 newHSV, Boolean playSound, Boolean validateOwnership)
at Sandbox.Game.Entities.MyCubeGrid.VRage.Game.ModAPI.IMyCubeGrid.ColorBlocks(Vector3I min, Vector3I max, Vector3 newHSV)
at IndustrialAutomaton.Shields.IAShieldBase.checkDamage(Object victim, MyDamageInformation& info)
2021-05-01 10:14:34.072 - Thread: 1 -> IAShields threw init exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at VRage.Game.Entity.MyEntity.RefreshModels(String model, String modelCollision)
at Sandbox.Game.Entities.MyCubeBlock.UpdateVisual()
at Sandbox.Game.Entities.Cube.MySlimBlock.UpdateVisual(Boolean updatePhysics)
at Sandbox.Game.Entities.MyCubeGrid.ChangeColorAndSkin(MySlimBlock block, Nullable`1 newHSV, Nullable`1 skinSubtypeId)
at Sandbox.Game.Entities.MyCubeGrid.OnColorBlock(Vector3I min, Vector3I max, Vector3 newHSV, Boolean playSound, Int64 player)
at Sandbox.Game.Entities.MyCubeGrid.OnColorBlock<>VRageMath_Vector3I#VRageMath_Vector3I#VRageMath_Vector3#System_Boolean#System_Int64.Invoke(MyCubeGrid& this, Vector3I& min, Vector3I& max, Vector3& newHSV, Boolean& playSound, Int64& player, DBNull& arg6)
at VRage.Network.MyReplicationLayerBase.InvokeLocally[T1,T2,T3,T4,T5,T6,T7](CallSite`7 site, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
at VRage.Network.MyReplicationLayer.DispatchEvent[T1,T2,T3,T4,T5,T6,T7,T8](CallSite callSite, EndpointId recipient, Nullable`1 position, T1& arg1, T2& arg2, T3& arg3, T4& arg4, T5& arg5, T6& arg6, T7& arg7, T8& arg8)
at VRage.Network.MyReplicationLayerBase.RaiseEvent[T1,T2,T3,T4,T5,T6,T7](T1 arg1, T7 arg7, Func`2 action, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, EndpointId endpointId, Nullable`1 position)
at Sandbox.Game.Entities.MyCubeGrid.ColorBlockRequest(Vector3I min, Vector3I max, Vector3 newHSV, Boolean playSound, Int64 player)
at Sandbox.Game.Entities.MyCubeGrid.ColorBlockRequest<>VRageMath_Vector3I#VRageMath_Vector3I#VRageMath_Vector3#System_Boolean#System_Int64.Invoke(MyCubeGrid& this, Vector3I& min, Vector3I& max, Vector3& newHSV, Boolean& playSound, Int64& player, DBNull& arg6)
at VRage.Network.MyReplicationLayerBase.InvokeLocally[T1,T2,T3,T4,T5,T6,T7](CallSite`7 site, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
at VRage.Network.MyReplicationLayer.DispatchEvent[T1,T2,T3,T4,T5,T6,T7,T8](CallSite callSite, EndpointId recipient, Nullable`1 position, T1& arg1, T2& arg2, T3& arg3, T4& arg4, T5& arg5, T6& arg6, T7& arg7, T8& arg8)
at VRage.Network.MyReplicationLayerBase.RaiseEvent[T1,T2,T3,T4,T5,T6,T7](T1 arg1, T7 arg7, Func`2 action, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, EndpointId endpointId, Nullable`1 position)
at Sandbox.Game.Entities.MyCubeGrid.ColorBlocks(Vector3I min, Vector3I max, Vector3 newHSV, Boolean playSound, Boolean validateOwnership)
at Sandbox.Game.Entities.MyCubeGrid.VRage.Game.ModAPI.IMyCubeGrid.ColorBlocks(Vector3I min, Vector3I max, Vector3 newHSV)
at IndustrialAutomaton.Shields.IAShieldBase.UpdateBeforeSimulation()
2021-05-01 10:14:34.100 - Thread: 1 -> IAShields threw init exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at IndustrialAutomaton.Shields.IAShieldBase.UpdateBeforeSimulation()
2021-05-01 10:14:34.187 - Thread: 1 -> IAShields threw init exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at IndustrialAutomaton.Shields.IAShieldBase.UpdateBeforeSimulation()
2021-05-01 10:14:35.061 - Thread: 1 -> Optimizing physics step of 3 worlds
2021-05-01 10:14:35.072 - Thread: 1 -> IAShields threw init exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at IndustrialAutomaton.Shields.IAShieldBase.UpdateBeforeSimulation()
2021-05-01 10:14:35.100 - Thread: 1 -> IAShields threw init exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
at IndustrialAutomaton.Shields.IAShieldBase.UpdateBeforeSimulation()
2021-05-01 10:14:35.102 - Thread: 10 -> Exception occurred: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Havok.HkRigidBody.HkRigidBody_AddGravityAction(IntPtr instance, IntPtr action)
at Havok.HkRigidBody.AddGravity()
at Havok.HkWorld.AddRigidBodyInternal(HkRigidBody rigidBody)
at Havok.HkWorld.AddRigidBody(HkRigidBody rigidBody)
at Sandbox.Engine.Physics.MyPhysicsBody.Activate(Object world, UInt64 clusterObjectID)
at Sandbox.Game.Entities.MyAdvancedDoor.InitSubparts()
at Sandbox.Game.Entities.MyCubeBlock.UpdateVisual()
at Sandbox.Game.Entities.MyAdvancedDoor.UpdateVisual()
at Sandbox.Game.Entities.Cube.MySlimBlock.UpdateVisual(Boolean updatePhysics)
at Sandbox.Game.Entities.MyCubeGrid.ChangeColorAndSkin(MySlimBlock block, Nullable`1 newHSV, Nullable`1 skinSubtypeId)
at Sandbox.Game.Entities.MyCubeGrid.OnColorBlock(Vector3I min, Vector3I max, Vector3 newHSV, Boolean playSound, Int64 player)
at Sandbox.Game.Entities.MyCubeGrid.OnColorBlock<>VRageMath_Vector3I#VRageMath_Vector3I#VRageMath_Vector3#System_Boolean#System_Int64.Invoke(MyCubeGrid& this, Vector3I& min, Vector3I& max, Vector3& newHSV, Boolean& playSound, Int64& player, DBNull& arg6)
at VRage.Network.MyReplicationLayerBase.InvokeLocally[T1,T2,T3,T4,T5,T6,T7](CallSite`7 site, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
at VRage.Network.MyReplicationLayer.DispatchEvent[T1,T2,T3,T4,T5,T6,T7,T8](CallSite callSite, EndpointId recipient, Nullable`1 position, T1& arg1, T2& arg2, T3& arg3, T4& arg4, T5& arg5, T6& arg6, T7& arg7, T8& arg8)
at VRage.Network.MyReplicationLayerBase.RaiseEvent[T1,T2,T3,T4,T5,T6,T7](T1 arg1, T7 arg7, Func`2 action, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, EndpointId endpointId, Nullable`1 position)
at Sandbox.Game.Entities.MyCubeGrid.ColorBlockRequest(Vector3I min, Vector3I max, Vector3 newHSV, Boolean playSound, Int64 player)
at Sandbox.Game.Entities.MyCubeGrid.ColorBlockRequest<>VRageMath_Vector3I#VRageMath_Vector3I#VRageMath_Vector3#System_Boolean#System_Int64.Invoke(MyCubeGrid& this, Vector3I& min, Vector3I& max, Vector3& newHSV, Boolean& playSound, Int64& player, DBNull& arg6)
at VRage.Network.MyReplicationLayerBase.InvokeLocally[T1,T2,T3,T4,T5,T6,T7](CallSite`7 site, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)
at VRage.Network.MyReplicationLayer.DispatchEvent[T1,T2,T3,T4,T5,T6,T7,T8](CallSite callSite, EndpointId recipient, Nullable`1 position, T1& arg1, T2& arg2, T3& arg3, T4& arg4, T5& arg5, T6& arg6, T7& arg7, T8& arg8)
at VRage.Network.MyReplicationLayerBase.RaiseEvent[T1,T2,T3,T4,T5,T6,T7](T1 arg1, T7 arg7, Func`2 action, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, EndpointId endpointId, Nullable`1 position)
at Sandbox.Game.Entities.MyCubeGrid.ColorBlocks(Vector3I min, Vector3I max, Vector3 newHSV, Boolean playSound, Boolean validateOwnership)
at Sandbox.Game.Entities.MyCubeGrid.VRage.Game.ModAPI.IMyCubeGrid.ColorBlocks(Vector3I min, Vector3I max, Vector3 newHSV)
at IndustrialAutomaton.Shields.IAShieldBase.checkDamage(Object victim, MyDamageInformation& info)
at Sandbox.Game.GameSystems.MyDamageSystem.RaiseBeforeDamageAppliedIntenal(Object target, MyDamageInformation& info)
at Sandbox.Game.Entities.MyCubeGrid.GetExistingCubeForBoneDeformations(Vector3I& cube, MyDamageInformation& damageInfo)
at Sandbox.Game.Entities.Cube.MyGridPhysics.DeformBones(Single deformationOffset, Vector3I gridPos, Single softAreaPlanar, Single softAreaVertical, Vector3 localNormal, Vector3 localPos, MyStringHash damageType, Single offsetThreshold, Single lowerRatioLimit, Int64 attackerId, Vector3 up)
at Sandbox.Game.Entities.Cube.MyGridPhysics.<>c__DisplayClass116_0.<ApplyDeformation>b__0()
at ParallelTasks.DelegateWork.DoWork(WorkData workData)
at ParallelTasks.WorkItem.DoWork(Int32 expectedID)
at ParallelTasks.PrioritizedScheduler.Worker.WorkerLoop()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
2021-05-01 10:14:35.102 - Thread: 10 -> Showing message
2021-05-01 10:14:40.016 - Thread: 10 ->
================================== CRASH INFO ==================================
AppVersion: 01_198_027
GameName: Space Engineers
IsOutOfMemory: False
IsGPU: False
IsNative: False
IsTask: False
IsExperimental: True
ProcessRunTime: 3891
PCUCount: -33766
IsHang: False
GCMemory: 2611
GCMemoryAllocated: 2611
HWAvailableMemory: 15505
ProcessPrivateMemory: 9972
AnalyticId: SE
================================== OFNI HSARC ==================================

2021-05-01 10:14:40.016 - Thread: 10 -> Log Closed