Jump to content

Player can't reconnect to server after crash caused by breaking item


CoB
 Share

Recommended Posts

@Tyron One of my players destroyed an latern which was placed on an old wooden table, then his client crashed and now he can't reconnect to the server. I may be able to let him spawn somewhere else, to see if this problem persists afterwards, but nonetheless this is something you may want to fix. Here is the crashlog:

 

Spoiler

Version: v1.12.14 (Stable)4/14/2020 12:51:10 PM: Critical error occurred
System.NullReferenceException: Object reference not set to an instance of an object.
   at Vintagestory.GameContent.BlockLantern.OnBlockInteractStart(IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel)
   at _AwTvpwXV1bHGBB8plvoGTYT5ihD._wUuq3uOLN8Fi0aGOzCtPGuj6U7B(Block , BlockSelection )
   at _AwTvpwXV1bHGBB8plvoGTYT5ihD._qL8MKkGIwomV7BZiVAXExTc2RxF(Single )
   at _AwTvpwXV1bHGBB8plvoGTYT5ihD._YZl5SNyBXUKjgXTZCHtfITnWm3e(Single )
   at _clfmWA0YSY2as1BzXGL1FefIS0s._a4Hmi0OF3M1DtfqsRXVEQNMveaP(EnumRenderStage , Single )
   at _hLaepLRCOckdCEvZTPp1GxfgrdT._a4Hmi0OF3M1DtfqsRXVEQNMveaP(EnumRenderStage , Single )
   at _hLaepLRCOckdCEvZTPp1GxfgrdT._UfbESUwVALAm24tWKSVekibkmyy(Single )
   at _wbw3WsD1ic8cZIS5Ql2MkIqPWmb._UfbESUwVALAm24tWKSVekibkmyy(Single )
   at _s54YxMQ8l5DBeihbmw81nJkPTSU._RT1lBvzfhVzcDZ6jmYewDTkUdvx(Single )
   at _s54YxMQ8l5DBeihbmw81nJkPTSU._EZIJU8BLizIQdIOGgxu5BrkHzpV(Single )
   at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
   at OpenTK.GameWindow.DispatchRenderFrame()
   at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   at _gilSYm6aSzOct8TKUm64HAM8OHp._tyidesQGCE1oKHv8YEo8HwYCSty(_RxGTCHor7fqeGRNMEH5pZVfBHHK , String[] )
   at _xmrDk9pogtvR6xvbzmBc2dtFsbu._tyidesQGCE1oKHv8YEo8HwYCSty(ThreadStart )
-------------------------------
Version: v1.12.14 (Stable)4/14/2020 12:52:12 PM: Critical error occurred
System.NullReferenceException: Object reference not set to an instance of an object.
   at Vintagestory.Client.NoObf.TextureSource..ctor(_hLaepLRCOckdCEvZTPp1GxfgrdT game, Size2i atlasSize, Block block, Boolean forInventory)
   at Vintagestory.Client.NoObf.TextureSource..ctor(_hLaepLRCOckdCEvZTPp1GxfgrdT game, Size2i atlasSize, Block block, Int32 altTextureNumber)
   at Vintagestory.Client.NoObf.ShapeTesselator.GetTexSource(Block block, Int32 altTextureNumber, Boolean returnNullWhenMissing)
   at Vintagestory.GameContent.BlockLantern.GenMesh(ICoreClientAPI capi, String material, String lining, String glassMaterial, Shape shape, ITesselatorAPI tesselator)
   at Vintagestory.GameContent.BlockLantern.OnBeforeRender(ICoreClientAPI capi, ItemStack itemstack, EnumItemRenderTarget target, ItemRenderInfo& renderinfo)
   at Vintagestory.Client.NoObf.InventoryItemRenderer.GetItemStackRenderInfo(_hLaepLRCOckdCEvZTPp1GxfgrdT game, ItemSlot inSlot, EnumItemRenderTarget target)
   at Vintagestory.GameContent.EntityItemRenderer.DoRender3DOpaque(Single dt, Boolean isShadowPass)
   at Vintagestory.Client.NoObf.SystemRenderEntities.OnRenderOpaque3D(Single deltaTime)
   at _clfmWA0YSY2as1BzXGL1FefIS0s._a4Hmi0OF3M1DtfqsRXVEQNMveaP(EnumRenderStage , Single )
   at _hLaepLRCOckdCEvZTPp1GxfgrdT._a4Hmi0OF3M1DtfqsRXVEQNMveaP(EnumRenderStage , Single )
   at _hLaepLRCOckdCEvZTPp1GxfgrdT._gvVdZYlJjMijmkAmKtFDCvJNXax(Single )
   at _hLaepLRCOckdCEvZTPp1GxfgrdT._nu0syyqM6QcVDRvU3XOrq03zfUh(Single )
   at _wbw3WsD1ic8cZIS5Ql2MkIqPWmb._ibkrrJqCs89QNSe99xnFzRxp3sL(Single )
   at _s54YxMQ8l5DBeihbmw81nJkPTSU._RT1lBvzfhVzcDZ6jmYewDTkUdvx(Single )
   at _s54YxMQ8l5DBeihbmw81nJkPTSU._EZIJU8BLizIQdIOGgxu5BrkHzpV(Single )
   at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
   at OpenTK.GameWindow.DispatchRenderFrame()
   at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   at _gilSYm6aSzOct8TKUm64HAM8OHp._tyidesQGCE1oKHv8YEo8HwYCSty(_RxGTCHor7fqeGRNMEH5pZVfBHHK , String[] )
   at _xmrDk9pogtvR6xvbzmBc2dtFsbu._tyidesQGCE1oKHv8YEo8HwYCSty(ThreadStart )

 

EDIT: So i went online to see what his problem is and after he crashed out of the server, my game crashed too. I have some mods installed. I will try to check if these cause the crash, but maybe you can get some info out of these logs too. Here is mine:

 

Spoiler

Running on 64 bit Windows with 16 GB RAM
Version: v1.12.14 (Stable)14.04.2020 20:28:33: Critical error occurred
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei Vintagestory.Client.NoObf.TextureSource..ctor(_hLaepLRCOckdCEvZTPp1GxfgrdT game, Size2i atlasSize, Block block, Boolean forInventory)
   bei Vintagestory.Client.NoObf.TextureSource..ctor(_hLaepLRCOckdCEvZTPp1GxfgrdT game, Size2i atlasSize, Block block, Int32 altTextureNumber)
   bei Vintagestory.Client.NoObf.ShapeTesselator.GetTexSource(Block block, Int32 altTextureNumber, Boolean returnNullWhenMissing)
   bei Vintagestory.GameContent.BlockLantern.GenMesh(ICoreClientAPI capi, String material, String lining, String glassMaterial, Shape shape, ITesselatorAPI tesselator)
   bei Vintagestory.GameContent.BlockLantern.OnBeforeRender(ICoreClientAPI capi, ItemStack itemstack, EnumItemRenderTarget target, ItemRenderInfo& renderinfo)
   bei Vintagestory.Client.NoObf.InventoryItemRenderer.GetItemStackRenderInfo(_hLaepLRCOckdCEvZTPp1GxfgrdT game, ItemSlot inSlot, EnumItemRenderTarget target)
   bei Vintagestory.GameContent.EntityItemRenderer.DoRender3DOpaque(Single dt, Boolean isShadowPass)
   bei Vintagestory.Client.NoObf.SystemRenderEntities.OnRenderOpaque3D(Single deltaTime)
   bei _clfmWA0YSY2as1BzXGL1FefIS0s._a4Hmi0OF3M1DtfqsRXVEQNMveaP(EnumRenderStage , Single )
   bei _hLaepLRCOckdCEvZTPp1GxfgrdT._a4Hmi0OF3M1DtfqsRXVEQNMveaP(EnumRenderStage , Single )
   bei _hLaepLRCOckdCEvZTPp1GxfgrdT._gvVdZYlJjMijmkAmKtFDCvJNXax(Single )
   bei _hLaepLRCOckdCEvZTPp1GxfgrdT._nu0syyqM6QcVDRvU3XOrq03zfUh(Single )
   bei _wbw3WsD1ic8cZIS5Ql2MkIqPWmb._ibkrrJqCs89QNSe99xnFzRxp3sL(Single )
   bei _s54YxMQ8l5DBeihbmw81nJkPTSU._RT1lBvzfhVzcDZ6jmYewDTkUdvx(Single )
   bei _s54YxMQ8l5DBeihbmw81nJkPTSU._EZIJU8BLizIQdIOGgxu5BrkHzpV(Single )
   bei Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
   bei System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   bei OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
   bei OpenTK.GameWindow.DispatchRenderFrame()
   bei OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   bei _gilSYm6aSzOct8TKUm64HAM8OHp._tyidesQGCE1oKHv8YEo8HwYCSty(_RxGTCHor7fqeGRNMEH5pZVfBHHK , String[] )
   bei _xmrDk9pogtvR6xvbzmBc2dtFsbu._tyidesQGCE1oKHv8YEo8HwYCSty(ThreadStart )

 

EDIT 2: It seems to be a corrupted chunk. Whenever someone enters the chunk, his client will crash. As not everybody crashes. Any way to fix this?
-------------------------------

EDIT 3: Tried to load the world in singleplayer repair mode, but does crash there too. This is bullshizzle. Don't tell me we have to reseed the world and players will loose their creations.
-------------------------------

EDIT 4: I can confirm that the game crashes as the chunk is entered. People will not be able to respawn then, as long as they are within this area.

EDIT 5: For now it seems like i could fix it with the /clearentities command that i fired within the corrupted chunk. It gave me an "unhandled exception" error, when i did, but it seemed to fix the problem anyways. At least i hope so. Player says one lantern is missing, thats it. So i guess it all had to do with that one lantern.

 

Edited by Kai Effelsberg
Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.