ZigTheHedge / vsmods

4 stars 4 forks source link

Game client crashes once I place chiseled blocks (glass + oak log) inside the Trade'o'mat #7

Open hoblin opened 2 years ago

hoblin commented 2 years ago

Exception:

System.ArgumentException: Fatal: Trying to render a disposed mesh
   в Vintagestory.Client.NoObf.ClientPlatformWindows.RenderMesh(MeshRef modelRef)
   в tradeomat.src.TradeomatBlock.DealRenderer.OnRenderFrame(Single deltaTime, EnumRenderStage stage)
   в Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt)
   в Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt)
   в Vintagestory.Client.NoObf.ClientMain.MainRenderLoop(Single dt)
   в Vintagestory.Client.NoObf.ClientMain.MainGameLoop(Single deltaTime)
   в _TcPKe0ld0EAbHR8YsMG1OLy9q8O._G7ImpIHUCfpaZwTmd8In2KuoHYA(Single )
   в _SbWHHe8Ad6lBV8IRbvWFqut7ren._mSnyaJUIQhBb8A1j3UUn7uh5BBO(Single )
   в _SbWHHe8Ad6lBV8IRbvWFqut7ren._b365Cpnna1p8GSaDyyO3EH2VfOD(Single )
   в Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
   в System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   в OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) в C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:строка 479
   в OpenTK.GameWindow.DispatchRenderFrame() в C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:строка 454
   в OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) в C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:строка 375
   в _muFH2BhSjNKo8GSc2o33Nm6Ckup._SwLkq72vc0vcc3OnHXTAS19pm9p(_tVmXPdKJ3JBDWFc8tBtvgftcfhl , String[] )
   в _XL1Xa21FKJVFetNmIumId5p6UDU._SwLkq72vc0vcc3OnHXTAS19pm9p(ThreadStart )
-------------------------------
Konfuz commented 2 years ago

had a similar issue (straw + ebony)

Edit: The chiseled item in the trade-o-mat renders fine without an immediate crash, but prolonged idling in the chunk where the trade-o-mat is placed eventually triggers the bug and a hard crash of the game.

Running on 64 bit Linux with 31 GB. 
Game Version: v1.16.5 (Stable)
Loaded Mods: aurafurytweaks@0.0.3, bettercrates@1.4.1, chiseltools@1.4.6, extrachests@1.5.2, specializedbags-10Slot@0.4.2, tradeomat@1.6.1, game@1.16.5, automap@0.1.8, carrycapacity@0.6.5, extraoverlays@1.1.0, farmlanddropssoil@1.4.0, medievalexpansion@3.7.1, miningtools@1.1.4, petai@1.4.4, stepup@1.2.0, creative@1.16.5, prospectorinfo@3.1.2, survival@1.16.5, workbenchexpansion@1.4.1, bricklayers@0.9.1, campaigncartographer@2.0.2, feverstonehorses@1.2.9
9/3/2022 1:56:58 AM: Critical error occurred
System.ArgumentException: Fatal: Trying to render a disposed mesh
  at Vintagestory.Client.NoObf.ClientPlatformWindows.RenderMesh (Vintagestory.API.Client.MeshRef modelRef) [0x0004e] in <8316c93e98ed421da4237893dc4beacf>:0 
  at _jpSdH1QSrEK0jnli6JZHlVMqtrq.RenderMesh (Vintagestory.API.Client.MeshRef meshRef) [0x00000] in <8316c93e98ed421da4237893dc4beacf>:0 
  at tradeomat.src.TradeomatBlock.DealRenderer.OnRenderFrame (System.Single deltaTime, Vintagestory.API.Client.EnumRenderStage stage) [0x002e4] in <bdd2a1372419442d8ce07904af2944a2>:0 
  at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage (Vintagestory.API.Client.EnumRenderStage stage, System.Single dt) [0x00021] in <8316c93e98ed421da4237893dc4beacf>:0 
  at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage (Vintagestory.API.Client.EnumRenderStage stage, System.Single dt) [0x00028] in <8316c93e98ed421da4237893dc4beacf>:0 
  at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop (System.Single dt) [0x00208] in <8316c93e98ed421da4237893dc4beacf>:0 
  at Vintagestory.Client.NoObf.ClientMain.MainGameLoop (System.Single deltaTime) [0x00047] in <8316c93e98ed421da4237893dc4beacf>:0 
  at _esGsESICkihAc8ShXuIoQwZFwP4._lPY9uZeagiMGC6tvSE11dF7naaz (System.Single ) [0x0004d] in <8316c93e98ed421da4237893dc4beacf>:0 
  at _8UC8FAMhwKY89IbtSRDjsNSApPJ._KbwUAfxjCHyIG0aK445AAA9FHl5 (System.Single ) [0x00079] in <8316c93e98ed421da4237893dc4beacf>:0 
  at _8UC8FAMhwKY89IbtSRDjsNSApPJ._R0wAt2N0TpONMxGD0HJG3bDrRcI (System.Single ) [0x000cc] in <8316c93e98ed421da4237893dc4beacf>:0 
  at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame (System.Object sender, OpenTK.FrameEventArgs e) [0x00141] in <8316c93e98ed421da4237893dc4beacf>:0 
  at (wrapper delegate-invoke) System.EventHandler`1[OpenTK.FrameEventArgs].invoke_void_object_TEventArgs(object,OpenTK.FrameEventArgs)
  at OpenTK.GameWindow.OnRenderFrame (OpenTK.FrameEventArgs e) [0x00000] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.OnRenderFrameInternal (OpenTK.FrameEventArgs e) [0x00010] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.RaiseRenderFrame (System.Double elapsed, System.Double& timestamp) [0x0000c] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.DispatchRenderFrame () [0x00038] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.Run (System.Double updates_per_second, System.Double frames_per_second) [0x00104] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.Run () [0x00000] in <a4886e33f9fc416195d24950e7205b94>:0 
  at _7zNxEbLnuy6Bq08TdMSIu9ZbrKf._vvUTh6X5xLRNnjtX2xSE7z8yMeh (_SUsdg1ytavxaRcNNkhfDrODGhGP , System.String[] ) [0x003dc] in <ba2a76e506144f5084a46453a8f22fe3>:0 
  at _7zNxEbLnuy6Bq08TdMSIu9ZbrKf+_qZniT2fgiisIkqrp5iz6vEDMUVc._ZnDyalsB0FQk8So5sLBjhW87hXD () [0x00000] in <ba2a76e506144f5084a46453a8f22fe3>:0 
  at _yA4PJazdKq1OMm8H6js6v5AhQB._vvUTh6X5xLRNnjtX2xSE7z8yMeh (System.Threading.ThreadStart ) [0x00007] in <8316c93e98ed421da4237893dc4beacf>:0 
-------------------------------
Konfuz commented 2 years ago

Crash also occurs on multi-material blocks that have not even been modified. Again the crash does not happen immediately but sporadically while just being around the trade-o-mat in question.