Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Primal Carnage Extinction(321360) crashes on startup

Open crabel opened this issue 6 years ago • 4 comments

Primal Carnage Extinction crashes on startup with Proton 5.0

Attached is the logfile, it seems, the issue is caused by:

627.622:0034:0035:trace:mscoree:mono_assembly_preload_hook_fn "PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Failed to run module constructor due to Could not load type of field ':__m2mep@?ToColor@CLRTools@@$$FYM?AVColor@Media@Windows@System@@AEBVFColor@@@Z' (2668) due to: Could not load file or assembly 'PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. assembly:Z:\media\data\steamapps\common\Primal Carnage Extinction\Binaries\Win64\PrimalCarnageGame.exe type: member:(null)

steam-321360.log

crabel avatar Feb 11 '20 17:02 crabel

I went ahead and updated the titles common redistributable settings to include .NET 4.5.2 which may help with our start issues on proton.

looterz avatar Aug 22 '22 20:08 looterz

This could use a retest in current Proton, that particular error should have been fixed for a while.

madewokherd avatar Aug 27 '22 20:08 madewokherd

Retested, I now get this in the log:

Failed to run module constructor due to Could not load type of field '<Module>:__m2mep@??0?$gcroot@PE$AAVMContentBrowserControl@@@@$$FQEAM@PE$AAVMContentBrowserControl@@@Z' (2810) due to: Could not load file or assembly 'UnrealEdCSharp, Version=1.0.8256.24046, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:Z:\home\meh\.steam\debian-installation\steamapps\common\Primal Carnage Extinction\Binaries\Win64\PrimalCarnageGame.exe type:<Module> member:(null)

This is a known bug where Mono needs to resolve field types when .NET Framework does not.

We have a hack for this in Proton, but it's limited to Karmaflow(317940). Maybe we shouldn't limit it by appid.

madewokherd avatar Sep 06 '22 18:09 madewokherd

I just pushed an update to enable the hack for this game, so that should show up in bleeding-edge experimental soon. After that I get a crash in native code, which I can work around by setting the launch command to PROTON_USE_WINED3D=1 %command%

madewokherd avatar Sep 06 '22 18:09 madewokherd