View Issue Details

IDProjectCategoryView StatusLast Update
0000049Medieval EngineersBugpublic2020-10-20 19:12
ReporterJohnbeere Assigned Toequinox  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.7.3.33D4BB 
Target Version0.7.3.33D4BBFixed in Version0.7.3.33D4BB 
Summary0000049: Removing a single non-static weight crashes the game.
Description

=============================== FATAL EXCEPTION ================================
Exception occurred: VRage.MyUpdateSchedulerException: Failed to execute Void RunSingleFrame() on Medieval.MyMedievalGame
---> VRage.MyUpdateSchedulerException: Failed to execute Void RegenerateShape(Int64) on EntityBase:SmallGrid {01A886E0B032E826}/MyGridPhysicsShapeComponent
---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at hkpRigidBody.setMotionType(hkpRigidBody* , MotionType , hkpEntityActivation , hkpUpdateCollisionFilterOnEntityMode )
at Havok.HkRigidBody.UpdateMotionType(HkMotionType type)
at Sandbox.Game.EntityComponents.Grid.MyGridRigidBodyComponent.SetShape(MyPhysicsShapeComponentBase component, HkShape shape, HkMassProperties massProperties)
at VRage.Components.Physics.MyPhysicsShapeComponentBase.ShapeChangedDelegate.Invoke(MyPhysicsShapeComponentBase shapeComponent, HkShape shape, HkMassProperties massProperties)
at VRage.Components.Physics.MyPhysicsShapeComponentBase.RaiseShapeChanged()
at VRage.Components.Entity.CubeGrid.MyGridPhysicsShapeComponent.RegenerateShape(Int64 intervalMs)
at VRage.Components.MyUpdateScheduler.RunTimedUpdates()
--- End of inner exception stack trace ---
at VRage.Components.MyUpdateScheduler.ReportError(Delegate action, Exception error)
at VRage.Components.MyUpdateScheduler.RunTimedUpdates()
at VRage.Components.MyUpdateScheduler.RunUpdates(TimeSpan currentTime)
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 VRage.Components.MyUpdateScheduler.RunFixedUpdates()
--- End of inner exception stack trace ---
at VRage.Components.MyUpdateScheduler.ReportError(Delegate action, Exception error)
at VRage.Components.MyUpdateScheduler.RunFixedUpdates()
at VRage.Components.MyUpdateScheduler.RunUpdates(TimeSpan currentTime)
at Sandbox.Engine.Platform.MySandboxUpdate.<RunLoop>b__18_0()
at VRage.Utils.FixedLoop.Run(Action tickCallback)
at Sandbox.Engine.Platform.MySandboxUpdate.RunLoop()
at Medieval.MyProgram.Main(String[] args)

Steps To Reproduce

Place a non-static weight and remove it. The game seems to always crash.

TagsNo tags attached.

Relationships

has duplicate 0000048 closedequinox Error & Crash: Block does not exist! Position (Before event)  
child of 0000024 resolvedequinox Grids always use cube shaped inertia tensors  

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-09-27 19:07 Johnbeere New Issue
2020-09-27 19:38 equinox Relationship added related to 0000024
2020-09-27 19:43 equinox Priority normal => high
2020-09-27 19:43 equinox Severity major => crash
2020-09-27 19:43 equinox Target Version => 0.7.3.33D4BB
2020-09-27 19:43 equinox Assigned To => equinox
2020-09-27 19:43 equinox Status new => assigned
2020-09-27 19:43 equinox Relationship added related to 0000048
2020-09-27 19:51 equinox Relationship replaced child of 0000024
2020-10-13 00:32 equinox Relationship replaced has duplicate 0000048
2020-10-13 05:34 equinox Status assigned => in progress
2020-10-20 19:12 equinox Status in progress => resolved
2020-10-20 19:12 equinox Resolution open => fixed
2020-10-20 19:12 equinox Fixed in Version => 0.7.3.33D4BB