View Issue Details

IDProjectCategoryView StatusLast Update
0000093Medieval EngineersBugpublic2021-01-16 00:38
Reportershad Assigned Toequinox  
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionduplicate 
PlatformWindowsOS10 1909OS Version10.0.18363
Product Version0.7.2 
Target Version0.7.3.33D4BBFixed in Version0.7.3.33D4BB 
Summary0000093: Client crash when teleporting far away (to an area with lots of grids)
Description

This crash happens very often on DS when you try to fast travel or teleport to a player that is far away from your current location.
I am not sure if it has to do with the amount of grids in that area, but it seems to crash more often when that's the case.

Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.
at VRage.Scene.EntityId.VRage.Scene.IMyObjectIdentifier.TryGetObject(Object scene, Object& instance)
at VRage.Scene.MyGroupSynchronizationExtensions.RemoveEntityClient(MyGroup self, TypeId interfaceType, IMyObjectIdentifier entityId)
at lambda_method(Closure , MyGroup , TypeId , IMyObjectIdentifier , DBNull , DBNull , DBNull , DBNull )
at VRage.Network.CallSite7.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.MyReplicationClient.ProcessEvent(BitStream stream, CallSite site, Object obj, IMyNetObject sendAs, EndpointId source) at VRage.Network.MyReplicationLayer.ProcessEvent(BitStream stream, NetworkId networkId, NetworkId blockedNetId, UInt32 eventId, EndpointId sender) at VRage.Replication.MyEventsBuffer.ProcessFirstEvent(HashSet1 targetObjectIds, MyObjectEventsBuffer eventsBuffer, NetworkId targetObjectId, NetworkId caller)
at VRage.Replication.MyEventsBuffer.ProcessEvents(HashSet1 targetObjectIds, NetworkId caller) at VRage.Replication.MyEventsBuffer.ProcessFirstEvent(HashSet1 targetObjectIds, MyObjectEventsBuffer eventsBuffer, NetworkId targetObjectId, NetworkId caller)
at VRage.Replication.MyEventsBuffer.ProcessEvents(HashSet1 targetObjectIds, NetworkId caller) at VRage.Replication.MyReplicableStreamingReceiver.OnReplicablesAddedToScene(DictionaryReader2 replicableLoadResults)
at Sandbox.Engine.Multiplayer.MyClientSceneLoader.VRage.Scene.ISceneLoadListener.OnAddedToScene()
at VRage.Scene.MySceneExtensions.MySceneLoadWork.Completed()
at VRage.ParallelWorkers.Workers.RunCallbacks()
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)

TagsNetwork, Server

Relationships

duplicate of 0000060 resolvedequinox Integrate peaceman's DLL fixes  

Activities

equinox

2021-01-16 00:37

administrator   #~0000043

Pretty sure this was resolved by peaceman's don't-crash-on-null for RemoveEntityClient

Issue History

Date Modified Username Field Change
2020-11-15 09:08 shad New Issue
2020-11-15 09:08 shad Tag Attached: Network
2020-11-15 09:08 shad Tag Attached: Server
2021-01-16 00:36 equinox Relationship added duplicate of 0000060
2021-01-16 00:37 equinox Note Added: 0000043
2021-01-16 00:38 equinox Assigned To => equinox
2021-01-16 00:38 equinox Status new => closed
2021-01-16 00:38 equinox Resolution open => duplicate
2021-01-16 00:38 equinox Fixed in Version => 0.7.3.33D4BB
2021-01-16 00:38 equinox Target Version => 0.7.3.33D4BB