Players are kicked from server when trying to weld blocks from projection.

Yuri shared this bug 2 years ago
Outdated

Hi.

Players load projection, then try to weld block with welder, once they do client crash!

And user is kicked from server.

As server side i see this error:

2020/07/01 19:08:55.096 [ERROR]  Keen: System.NullReferenceException: Object reference not set to an instance of an object.
   at Sandbox.Game.Entities.Blocks.MyProjectorBase.BuildInternal(Vector3I cubeBlockPosition, Int64 owner, Int64 builder, Boolean requestInstant, Int64 builtBy)
   at Sandbox.Game.Entities.Blocks.MyProjectorBase.BuildInternal<>VRageMath_Vector3I#System_Int64#System_Int64#System_Boolean#System_Int64.Invoke(MyProjectorBase& this, Vector3I& cubeBlockPosition, Int64& owner, Int64& builder, Boolean& requestInstant, Int64& builtBy, DBNull& arg6)
   at VRage.Network.CallSite`7.Invoke(BitStream stream, Object obj, Boolean validate)
   at VRage.Network.MyReplicationLayer.Invoke(CallSite callSite, BitStream stream, Object obj, EndpointId source, MyClientStateBase clientState, Boolean validate)
   at VRage.Network.MyReplicationServer.OnEvent(MyPacketDataBitStreamBase data, CallSite site, Object obj, IMyNetObject sendAs, Nullable`1 position, EndpointId source)
   at VRage.Network.MyReplicationLayer.OnEvent(MyPacketDataBitStreamBase data, NetworkId networkId, NetworkId blockedNetId, UInt32 eventId, EndpointId sender, Nullable`1 position)
   at VRage.Network.MyReplicationLayer.ProcessEvent(MyPacketDataBitStreamBase data, EndpointId sender)
   at VRage.Network.MyReplicationLayer.OnEvent(MyPacket packet)
   at Sandbox.Engine.Multiplayer.MyTransportLayer.ProcessMessage(MyPacket p)
   at Sandbox.Engine.Multiplayer.MyTransportLayer.HandleMessage(MyPacket p)
   at Sandbox.Engine.Networking.MyReceiveQueue.Process(NetworkMessageDelegate handler)
System.NullReferenceException: Object reference not set to an instance of an object.
   at Sandbox.Game.Entities.Blocks.MyProjectorBase.BuildInternal(Vector3I cubeBlockPosition, Int64 owner, Int64 builder, Boolean requestInstant, Int64 builtBy)
   at Sandbox.Game.Entities.Blocks.MyProjectorBase.BuildInternal<>VRageMath_Vector3I#System_Int64#System_Int64#System_Boolean#System_Int64.Invoke(MyProjectorBase& this, Vector3I& cubeBlockPosition, Int64& owner, Int64& builder, Boolean& requestInstant, Int64& builtBy, DBNull& arg6)
   at VRage.Network.CallSite`7.Invoke(BitStream stream, Object obj, Boolean validate)
   at VRage.Network.MyReplicationLayer.Invoke(CallSite callSite, BitStream stream, Object obj, EndpointId source, MyClientStateBase clientState, Boolean validate)
   at VRage.Network.MyReplicationServer.OnEvent(MyPacketDataBitStreamBase data, CallSite site, Object obj, IMyNetObject sendAs, Nullable`1 position, EndpointId source)
   at VRage.Network.MyReplicationLayer.OnEvent(MyPacketDataBitStreamBase data, NetworkId networkId, NetworkId blockedNetId, UInt32 eventId, EndpointId sender, Nullable`1 position)
   at VRage.Network.MyReplicationLayer.ProcessEvent(MyPacketDataBitStreamBase data, EndpointId sender)
   at VRage.Network.MyReplicationLayer.OnEvent(MyPacket packet)
   at Sandbox.Engine.Multiplayer.MyTransportLayer.ProcessMessage(MyPacket p)
   at Sandbox.Engine.Multiplayer.MyTransportLayer.HandleMessage(MyPacket p)
   at Sandbox.Engine.Networking.MyReceiveQueue.Process(NetworkMessageDelegate handler)
2020/07/01 19:08:55.096 [INFO]   Keen: User left Laefen

Replies (2)

photo
1

Hello, Engineer!


Thank you for your feedback! Your topic has been added between considered issues.

Please keep voting for the issue as it will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards

Keen Software House: QA Department

photo
1

I have this same bug - I cannot weld anything on MP servers from a projector... just kicks me right out.

Leave a Comment
 
Attach a file