BepInEx / BepInEx

Unity / XNA game patcher and plugin framework
GNU Lesser General Public License v2.1
4.71k stars 589 forks source link

[Nitrado] doesnt work after update #697

Open Hektyk opened 10 months ago

Hektyk commented 10 months ago

What happened?

Hello,

after updating the game, the mod stopped working. Any solutions?

BepInEx Distribution

3rd party distribution

Log outputs

https://pastebin.com/Eufsbz5Q

Environment

- OS: Nitrado / Linux 
- BepInEx: 5.4.2202
- Game: Valheim
dsalt commented 10 months ago
./start_game_bepinex.sh gdb --args ./valheim.x86_64

… segfaults after printing Unity memory configuration stuff…

(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x0000000040021558 in ?? ()
#2  0x0000000000000000 in ?? ()

Works fine via Proton (though the docs on Thunderstore could use a tweak to mention this and the needed DLL override).

Player.log looks similar here (including “out-of-sync” messages re. mscorlib.dll), but no backtrace, likely because I ran via gdb and killed the process.

(Devuan stable, BepInEx 5.4.22, Valheim 0.217.29; 0.217.25 is fine.)

dsalt commented 10 months ago

I tried moving unstripped_corlib/mscorlib.dll out of the way. This is insufficient: it merely results in the crash occurring a little later.

I moved unstripped_corlib out of the way and all seems well again.

lenase0077 commented 10 months ago

same here, worlds just dont load

Orohal commented 10 months ago

After updating Game this is happend: Caught fatal signal - signo:11 code:1 errno:0 addr:(nil) Obtained 15 stack frames.

0 0x007f16211b6520 in __sigaction

1 (nil) in (Unknown)

2 0x0000004010dbeb in (wrapper managed-to-native) Mono.SafeStringMarshal:StringToUtf8 (string)

3 0x0000004010db03 in Mono.SafeStringMarshal:get_Value ()

4 0x0000004010da43 in System.Environment:internalGetEnvironmentVariable (string)

5 0x0000004010d9bf in System.Environment:GetEnvironmentVariable (string)

6 0x000000401022a3 in System.TimeZoneInfo:CreateLocal ()

7 0x00000040101fe7 in System.TimeZoneInfo:get_Local ()

8 0x00000040101f77 in System.TimeZoneInfo:GetDateTimeNowUtcOffsetFromUtc (System.DateTime,bool&)

9 0x0000004010169b in System.DateTime:get_Now ()

10 0x00000040101203 in BepInEx.Preloader.Entrypoint:Main ()

11 0x00000040101610 in (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)

12 0x007f159f9e53fe in mono_runtime_invoke

13 0x007f159fa3f70d in mono_gc_pending_finalizers

14 0x007f162086af60 in (Unknown)

Segmentation fault

Orohal commented 10 months ago

okay.. here is a solution/workaround delete on server all bepinex folders and files e.a unstriped core files.. ect fresh install BepInEx_unix_5.4.22.0 and only these files.. no automated skript install or anything. installing mod´s. all fine!

dsalt commented 10 months ago

Just re-checked, same backtrace with unstripped_corlib in place. I'm calling the removal of that directory and its content a sufficient workaround.

(@Orohal, your log text should be marked as a code block.)

Hektyk commented 10 months ago
  1. When I renamed folder "unstripped_corlib", Nitrado restored him.
  2. Too same for mscorlib.dll. . .
  3. I must wait for update BepInEx or reinstall him?