This object is in archive! 

Parallel task callback with MyGridClipboard is causing fatal server crash

John Shepard shared this bug 5 years ago
Won't Fix

12:23:24.9308 [FATAL]  Initializer: System.NullReferenceException: Object reference not set to an instance of an object.
   at Sandbox.Game.Entities.Cube.MyGridClipboard.DisablePhysicsRecursively(MyEntity entity)
   at Sandbox.Game.Entities.Cube.MyGridClipboard.DisablePhysicsRecursively(MyEntity entity)
   at Sandbox.Game.Entities.Cube.MyGridClipboard.<>c__DisplayClass2.<ActivateNoAlign>b__1()
   at ParallelTasks.Parallel.RunCallbacks()
   at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)
   at Sandbox.MySandboxGame.Update()
   at Sandbox.Engine.Platform.Game.UpdateInternal()
   at RunSingleFrame_0(Object )
We are using no mods that involve the grid clipboard, but regardless, this method should have the proper null reference checks on your end so it doesn't crash servers. Thanks.

Replies (3)

photo
1

So you released a hotfix today and didn't address this. It's a single-line fix, guys. You have this method running in parallel where entity has a MILLION chances to come up null. Please fix this.

photo
1

Scratch that. There's like three or four things in this method that can be null, but still. Easy enough to cover those bases.

photo
1

Hello, Engineers!


Are you still experiencing this issue? Thank you.


Kind Regards

Keen Software House: QA Department

photo
1

Hello Engineer,


Since there are no new comments in this topic and we are still not able to reproduce it,

we are closing this thread as outdated.

In case anyone is encountering the same or similar bug, which is not already posted in a

different thread, please feel free to create a new thread with all relevant information.

Thank you.


Kind Regards

Keen Software House: QA Department

Replies have been locked on this page!