Skip to content
This repository has been archived by the owner on Oct 22, 2022. It is now read-only.

MissingFieldException in version 1.17.2 #4

Open
Spaceslug opened this issue Sep 8, 2022 · 3 comments
Open

MissingFieldException in version 1.17.2 #4

Spaceslug opened this issue Sep 8, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@Spaceslug
Copy link

Using Vintage Story 1.17.2 flatpak version on EndeavourOS. MumbleLink is only mod. Crashes when starting a new world. Also when starting an old one.

Here is the console log on exception.

15:43:24 [Client Notification] Texture size is 32 so decal atlas size of 128x128 should suffice
15:43:24 [Client Audit] spaceslug opened inventory hotbar-c0ZnB7EWvv4rKnz9IGz986yi
15:43:24 [Client Audit] spaceslug opened inventory backpack-c0ZnB7EWvv4rKnz9IGz986yi
15:43:24 [Server Event] spaceslug 127.0.0.1 joins.
15:43:24 [Client Audit] spaceslug opened inventory character-c0ZnB7EWvv4rKnz9IGz986yi
15:43:24 [Client Notification] Received level finalize
15:43:24 [Client Notification] Loaded Shaderprogramm for render pass clouds.
15:43:25 [Client Fatal] Game Version: v1.17.2 (Stable)
9/8/2022 3:43:25 PM: Critical error occurred
Loaded Mods: [email protected], [email protected], [email protected], [email protected]
System.MissingFieldException: Field not found: single Vintagestory.API.Common.EntityAgent.HeadPitch Due to: Could not find field in class
  at Vintagestory.Common.EventManager.TriggerGameTick (System.Int64 ellapsedMilliseconds, Vintagestory.API.Common.IWorldAccessor world) [0x000d3] in <9818055ad9944364982e7cd3796d846c>:0 
  at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop (System.Single dt) [0x00076] in <9818055ad9944364982e7cd3796d846c>:0 
  at Vintagestory.Client.NoObf.ClientMain.MainGameLoop (System.Single deltaTime) [0x00047] in <9818055ad9944364982e7cd3796d846c>:0 
  at Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary (System.Single dt) [0x0004d] in <9818055ad9944364982e7cd3796d846c>:0 
  at Vintagestory.Client.ScreenManager.Render (System.Single dt) [0x00079] in <9818055ad9944364982e7cd3796d846c>:0 
  at Vintagestory.Client.ScreenManager.OnNewFrame (System.Single dt) [0x000cc] in <9818055ad9944364982e7cd3796d846c>:0 
  at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame (System.Object sender, OpenTK.FrameEventArgs e) [0x00141] in <9818055ad9944364982e7cd3796d846c>: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 Vintagestory.Client.ClientProgram.Start (Vintagestory.Client.ClientProgramArgs args, System.String[] rawArgs) [0x003dc] in <ff36c07cb56d468babb0b2486902237e>:0 
  at Vintagestory.Client.ClientProgram+<>c__DisplayClass14_0.<.ctor>b__0 () [0x00000] in <ff36c07cb56d468babb0b2486902237e>:0 
  at Vintagestory.ClientNative.CrashReporter.Start (System.Threading.ThreadStart start) [0x00007] in <9818055ad9944364982e7cd3796d846c>:0 
Crash written to file at "/home/spaceslug/.var/app/at.vintagestory.VintageStory/config/VintagestoryData/Logs/client-crash.txt"
@copygirl copygirl added the bug Something isn't working label Sep 8, 2022
@copygirl
Copy link
Owner

copygirl commented Sep 8, 2022

It's very likely the internal makeup of some Vintage Story classes changed, one or more members the mod used renamed or moved around. Doubt it's just Flatpak related. Unfortunately, I don't actively maintain my mods any longer since I'm taking a break from the game. I might take a look at it, though I'd appreciate if someone would take over or fork the mod to keep it going.

@copygirl copygirl changed the title Crashes on 1.17.2 flatpak version MissingFieldException in version 1.17.2 Sep 8, 2022
@copygirl
Copy link
Owner

copygirl commented Sep 9, 2022

I briefly looked into it and not sure where the camera yaw has moved to. Yes, only the yaw. The camera's pitch is still on the player entity. Currently don't have the energy to investigate more than that.

@Spaceslug
Copy link
Author

Thank you for looking into it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants