Jameh Posted December 29, 2019 Report Share Posted December 29, 2019 I tried to load my existing world (created in 1.11 I think), on the new 1.12.0-pre.1 version of the game and got the following crash: Running on 64 bit Windows with 32 GB RAM Version: v1.12.0-pre.1 (Unstable)29/12/2019 19:25:40: Critical error occurred System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Vintagestory.Client.NoObf.ShaderProgramBase.Uniform(String uniformName, Single value) at Vintagestory.GameContent.EntityShapeRenderer.DoRender3DOpaqueBatched(Single dt, Boolean isShadowPass) at Vintagestory.Client.NoObf.SystemRenderEntities.OnRenderFrameShadows(Single dt) at _EixPUZCf7tmgFNOoqkVbmIGbTRJ._NMOUhp8gvqMahlcbgMF4dw08fUF(EnumRenderStage , Single ) at _RUhAMTwoeTm3UIzPvbmExVNxwZS._NMOUhp8gvqMahlcbgMF4dw08fUF(EnumRenderStage , Single ) at _RUhAMTwoeTm3UIzPvbmExVNxwZS._3H9m2IPEldi2cvW0MAG44SnUHEf(Single ) at _RUhAMTwoeTm3UIzPvbmExVNxwZS._MKvcQnL7gewtI1qbnjSdWSawdakA(Single ) at _Igoc97ckqVljnCA2Dx2mnVWbVip._FIp9VQUZNHZG3Jb4CXrRGgBI31D(Single ) at _5XjjhI61BtBodarbI94fAmLa126._8eCXolML3ezZJSsPYlapUuOoJTc(Single ) at _5XjjhI61BtBodarbI94fAmLa126._zHlndzfzFZQHIMZKNhCw3HgyJ9(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 _HNwbMcYiXQRrlyWmBPhh5e6PJng._5CuF6gy2KqJWuYcud2uoqVrKwVf(_buT4CNDAMIeemONEo45dWwDVMql , String[] ) at _Jp6BgTKiHL83WuxLAU16RGRCzK5._5CuF6gy2KqJWuYcud2uoqVrKwVf(ThreadStart ) ------------------------------- Event Log, last 3 entries ================================== { TimeGenerated = 05/12/2019 21:31:24, Site = , Source = .NET Runtime, Message = Application: Vintagestory.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException at Vintagestory.GameContent.BlockPlatePile+<>c__DisplayClass12_0.<GetPlacedBlockInteractionHelp>b__0(Vintagestory.API.Client.WorldInteraction, Vintagestory.API.Common.BlockSelection, Vintagestory.API.Common.EntitySelection) at Vintagestory.Client.NoObf.DrawWorldInteractionUtil.ComposeBlockWorldInteractionHelp(Vintagestory.API.Client.WorldInteraction[]) at Vintagestory.Client.NoObf.HudElementBlockInteractionHelp.BlockInView() at Vintagestory.Common.EventManager.TriggerGameTick(Int64, Vintagestory.API.Common.IWorldAccessor) at _tgzoykAbNqsdtRyrOFdc8I7Ow7g._fbEJ48tJJSnFzCYn0bGwHCbqtFd(Single) at _tgzoykAbNqsdtRyrOFdc8I7Ow7g._x9nzI3t2hGta5X8nO3ZBBT4DZ8J(Single) at _zrdtg4UCazZzkLOdRNn1pI1ZRFd._qKtxoabCoaQo5Eyrftl36g7vDKk(Single) at _gs2N2q7HaCSPXnjZerb7vtFtirG._CGHehKw5n1iw0DtMo3jrgpBJKSe(Single) at _gs2N2q7HaCSPXnjZerb7vtFtirG._F7IG8Z5238DzhCEAGbpksIYGOYH(Single) at _91tbFwDBlPrdXCsJ1qOjfR3nlre._ALrpPjf5jznyJlp78SL0ZEpfCfG(System.Object, OpenTK.FrameEventArgs) at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon) at OpenTK.GameWindow.RaiseRenderFrame(Double, Double ByRef) at OpenTK.GameWindow.DispatchRenderFrame() at OpenTK.GameWindow.Run(Double, Double) at _8LcWAu0y4fFQAmY4SxfbiwjmEme._8uu87p3vS1B4MfhyVLmiXryz9lB(_BVXL5qcBHoeJMMLIkOQPAiaGcffb, System.String[]) at _tJpO366PdbyjWv4bIyXxOMR8QUq._8uu87p3vS1B4MfhyVLmiXryz9lB(System.Threading.ThreadStart) } { TimeGenerated = 05/12/2019 16:14:21, Site = , Source = .NET Runtime, Message = Application: Vintagestory.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: exception code c0020001, exception address 00007FFD345FA839 Stack: at System.Environment._Exit(Int32) at System.Environment._Exit(Int32) at System.Environment.Exit(Int32) at _I5k7PFL0Qprans7MpIc05ZOJMtp._IN7AOL4aEQ5ZvGEhw6tZJQY37tN() at Vintagestory.API.Client.GuiElementTextButton.OnMouseUpOnElement(Vintagestory.API.Client.ICoreClientAPI, Vintagestory.API.Client.MouseEvent) at Vintagestory.API.Client.GuiElement.OnMouseUp(Vintagestory.API.Client.ICoreClientAPI, Vintagestory.API.Client.MouseEvent) at Vintagestory.API.Client.GuiElementTextButton.OnMouseUp(Vintagestory.API.Client.ICoreClientAPI, Vintagestory.API.Client.MouseEvent) at Vintagestory.API.Client.GuiComposer.OnMouseUp(Vintagestory.API.Client.MouseEvent) at _oCXYuEPowqvbf4XpmQIrorQwrLN._WgVHUqgbpp9fX2a1xxYB1rV4ChE(Vintagestory.API.Client.MouseEvent) at _91tbFwDBlPrdXCsJ1qOjfR3nlre._S98tyeKLR9JM6dowlt6od0BNuuh(System.Object, OpenTK.Input.MouseButtonEventArgs) at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon) at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon) at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr) at OpenTK.Platform.Windows.Functions.DispatchMessage(OpenTK.Platform.Windows.MSG ByRef) at OpenTK.Platform.Windows.Functions.DispatchMessage(OpenTK.Platform.Windows.MSG ByRef) at OpenTK.Platform.Windows.WinGLNative.ProcessEvents() at OpenTK.GameWindow.Run(Double, Double) at _8LcWAu0y4fFQAmY4SxfbiwjmEme._8uu87p3vS1B4MfhyVLmiXryz9lB(_BVXL5qcBHoeJMMLIkOQPAiaGcffb, System.String[]) at _tJpO366PdbyjWv4bIyXxOMR8QUq._8uu87p3vS1B4MfhyVLmiXryz9lB(System.Threading.ThreadStart) at _8LcWAu0y4fFQAmY4SxfbiwjmEme._N6abj0K0fdWJJEuq39x3phF4ZN6(System.String[]) } { TimeGenerated = 23/10/2019 09:59:45, Site = , Source = .NET Runtime, Message = Application: Vintagestory.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: exception code c0020001, exception address 00007FFA0932A839 Stack: at System.Environment._Exit(Int32) at System.Environment._Exit(Int32) at System.Environment.Exit(Int32) at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon) at OpenTK.NativeWindow.OnClosedInternal(System.Object, System.EventArgs) at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon) at OpenTK.Platform.Windows.WinGLNative.HandleDestroy(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr) at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr) at OpenTK.Platform.Windows.Functions.DestroyWindow(IntPtr) at OpenTK.Platform.Windows.Functions.DestroyWindow(IntPtr) at OpenTK.Platform.Windows.WinGLNative.DestroyWindow() at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr) at OpenTK.Platform.Windows.Functions.DefWindowProc(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr) at OpenTK.Platform.Windows.Functions.DefWindowProc(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr) at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr) at OpenTK.Platform.Windows.Functions.PeekMessage(OpenTK.Platform.Windows.MSG ByRef, IntPtr, Int32, Int32, OpenTK.Platform.Windows.PeekMessageFlags) at OpenTK.Platform.Windows.Functions.PeekMessage(OpenTK.Platform.Windows.MSG ByRef, IntPtr, Int32, Int32, OpenTK.Platform.Windows.PeekMessageFlags) at OpenTK.Platform.Windows.WinGLNative.ProcessEvents() at OpenTK.GameWindow.Run(Double, Double) at _jFSRJNH2UoVV5aoV1kk3b42xPad._e1EbMRpqt8RufEJ9cdmSNOo0dAi(_S3iAQfXuHBtwDjmzKaQZbvHmigS, System.String[]) at _yHBVJoDdYO0bfLKyeTTl6TWBFSfA._e1EbMRpqt8RufEJ9cdmSNOo0dAi(System.Threading.ThreadStart) at _jFSRJNH2UoVV5aoV1kk3b42xPad._MxRmcgyjj7BuKoHY8zlAUfJiEI7(System.String[]) } Link to comment Share on other sites More sharing options...
Jameh Posted December 29, 2019 Author Report Share Posted December 29, 2019 I tried to load the world again, to check if it was a first-time load issue, but it keeps crashing with the same error. I can provide the save if needed, but it's 900MB, so would rather not have to upload it if I don't need to Link to comment Share on other sites More sharing options...
Tyron Posted December 29, 2019 Report Share Posted December 29, 2019 Thank its gonna be fixed in pre.2, until then, disabling dynamic shadows should prevent the crash Link to comment Share on other sites More sharing options...
Recommended Posts