[1.203] AI Offensive Component Crash

Slushtrap Gamer shared this bug 8 months ago
Solved

2023-09-04 01:13:03.826 - Thread: 27 -> Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.

at SpaceEngineers.Game.EntityComponents.Blocks.MyOffensiveCombatAbstractComponent.DoLogic()

at System.DelegateExtensions.InvokeIfNotNull[T1](Action`1 handler, T1 arg1)

at Sandbox.Game.EntityComponents.MyAutopilotComponent.OnActiveAiComponentChanged(IMyAiBlockComponent activeComponent)

at System.Action`1.Invoke(T obj)

at System.DelegateExtensions.InvokeIfNotNull[T1](Action`1 handler, T1 arg1)

at Sandbox.Game.GameSystems.MyAiBlockSystem.DeactivateComponent(IMyAiBlockComponent component)

at Sandbox.Game.GameSystems.MyAiBlockSystem.CubeGridOnOnFatBlockRemoved(MyCubeBlock block)

at System.Action`1.Invoke(T obj)

at System.DelegateExtensions.InvokeIfNotNull[T1](Action`1 handler, T1 arg1)

at Sandbox.Game.Entities.MyCubeGrid.NotifyBlockRemoved(MySlimBlock block)

at Sandbox.Game.Entities.MyCubeGrid.RemoveBlockInternal(MySlimBlock block, Boolean close, Boolean markDirtyDisconnects)

at Sandbox.Game.Entities.MyCubeGrid.RemoveDestroyedBlockInternal(MySlimBlock block)

at Sandbox.Game.Entities.MyCubeGrid.RemoveDestroyedBlock(MySlimBlock block, Int64 attackerId)

at Sandbox.Game.Entities.Cube.MySlimBlock.ApplyAccumulatedDamage(Boolean addDirtyParts, Int64 attackerId)

at Sandbox.Game.Entities.Cube.MySlimBlock.DoDamageInternal(Single damage, MyStringHash damageType, Boolean addDirtyParts, Nullable`1 hitInfo, Int64 attackerId)

at Sandbox.Game.Entities.Cube.MySlimBlock.DoDamage(Single damage, MyStringHash damageType, Nullable`1 hitInfo, Boolean addDirtyParts, Int64 attackerId)

at Sandbox.Game.Entities.Cube.MySlimBlock.DoDamage(Single damage, MyStringHash damageType, Boolean sync, Nullable`1 hitInfo, Int64 attackerId, Int64 realHitEntityId, Boolean shouldDetonateAmmo)

at Sandbox.Game.MyExplosion.ApplyVolumetricDamageToGrid(MyGridExplosion damageInfo, Int64 attackerId)

at Sandbox.Game.MyExplosion.ApplyVolumetricDamageToGrid()

at Sandbox.Game.MyExplosions.UpdateBeforeSimulation()

at Sandbox.Game.World.MySession.UpdateComponents()

at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)

at Sandbox.MySandboxGame.Update()

at Sandbox.Engine.Platform.Game.UpdateInternal()

at Sandbox.Engine.Platform.Game.RunSingleFrame()

at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0()

at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)

at Sandbox.Engine.Platform.Game.RunLoop()

at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)

at VRage.Dedicated.DedicatedServer.RunInternal(String instanceName)

at VRage.Dedicated.DedicatedServer.RunMain(String instanceName, String customPath, Boolean isService, Boolean showConsole, Boolean checkAlive)

at VRage.Dedicated.WindowsService.MainThreadStart(Object obj)

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(Object obj)


Ai offensive component causes a crash after supposedly being destroyed by a warhead. Triggers randomly and not on every explosion.

Replies (2)

photo
1

Hello, Slushtrap Gamer,


thank you for contacting us. I reported the issue into our internal system.


Kind regards,

Keen Software House: QA Department

photo
1

Hello Engineer,


We have a hotfix 203.023 ready to go that should address this. Please update your game.

Please let us know if the update resolves the issue.


Thank you.

Kind regards,

Keen Software House: QA Department

Leave a Comment
 
Attach a file