MyForageableEntity.GetObjectBuilder Nullref
we've been having this crash sporadically for months now (since the farming mechanics were added in 1.208 Hope I got that right) it appears to randomly pop up every now and then (often with weeks months in between) And I have no clue why... The way Kreeg described it in the KSH Discord:
Basically the client isn't sure if it is allowed to render the bush, and the server isn't sure either, so it dies.
But unfortunately he was unaware of a way to resolve it. And said Torch might know. There is also the chance that it's nexus related. But when I asked Casimir a good while back and he said it didn't look like a nexus related crash
15:39:52.3251 [FATAL] Initializer: System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.Entities.MyForageableEntity.GetObjectBuilder(Boolean copy) at Sandbox.Game.Replication.MyEntityReplicableBase`1.OnSave(BitStream stream, Endpoint clientEndpoint)
at VRage.Network.MyReplicationServer.SendReplicationCreate(IMyReplicable obj, MyClient client, Endpoint clientEndpoint)
at VRage.Network.MyReplicationServer.AddForClient(IMyReplicable replicable, Endpoint clientEndpoint, MyClient client, Boolean force, Boolean addDependencies) at VRage.Network.MyReplicationServer.RefreshReplicable(IMyReplicable replicable, Endpoint endPoint, MyClient client, Boolean force) at Patched_VRage.Network.MyReplicationServerSendUpdate_0(Object ) at Sandbox.Engine.Multiplayer.MyMultiplayerBase.Tick() at Patched_Sandbox.Engine.Multiplayer.MyDedicatedServerBaseTick_0(Object ) at Patched_Sandbox.Game.World.MySessionUpdate_0(Object , MyTimeSpan ) at Sandbox.MySandboxGame.Update() at Patched_Sandbox.Engine.Platform.GameUpdateInternal_0(Object ) at Patched_Sandbox.Engine.Platform.GameRunSingleFrame_0(Object ) at Patched_Sandbox.Engine.Platform.FixedLoop+<>c__DisplayClass11_0<Run>b__0_0(Object ) at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback) at Sandbox.Engine.Platform.Game.RunLoop() at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen) at Torch.VRageGame.DoStart() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 319 at Torch.VRageGame.Run() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 133 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() System.NullReferenceException: Object reference not set to an instance of an object. at Sandbox.Game.Entities.MyForageableEntity.GetObjectBuilder(Boolean copy) at Sandbox.Game.Replication.MyEntityReplicableBase`1.OnSave(BitStream stream, Endpoint clientEndpoint) at VRage.Network.MyReplicationServer.SendReplicationCreate(IMyReplicable obj, MyClient client, Endpoint clientEndpoint) at VRage.Network.MyReplicationServer.AddForClient(IMyReplicable replicable, Endpoint clientEndpoint, MyClient client, Boolean force, Boolean addDependencies) at VRage.Network.MyReplicationServer.RefreshReplicable(IMyReplicable replicable, Endpoint endPoint, MyClient client, Boolean force) at Patched_VRage.Network.MyReplicationServerSendUpdate_0(Object ) at Sandbox.Engine.Multiplayer.MyMultiplayerBase.Tick() at Patched_Sandbox.Engine.Multiplayer.MyDedicatedServerBaseTick_0(Object ) at Patched_Sandbox.Game.World.MySessionUpdate_0(Object , MyTimeSpan ) at Sandbox.MySandboxGame.Update() at Patched_Sandbox.Engine.Platform.GameUpdateInternal_0(Object ) at Patched_Sandbox.Engine.Platform.GameRunSingleFrame_0(Object ) at Patched_Sandbox.Engine.Platform.FixedLoop+<>c__DisplayClass11_0<Run>b__0_0(Object ) at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback) at Sandbox.Engine.Platform.Game.RunLoop() at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen) at Torch.VRageGame.DoStart() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 319 at Torch.VRageGame.Run() in C:\ProgramData\Jenkins\.jenkins\workspace\Torch_master\Torch\VRageGame.cs:line 133 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()
I have the same bug
Replies have been locked on this page!