simon-wh / PAYDAY-2-BeardLib

PD2 Library for easier script file manipulation and mod creation
http://modworkshop.net
MIT License
86 stars 41 forks source link

Failed to initialize the Wren system #710

Closed Schepeppa closed 9 months ago

Schepeppa commented 9 months ago

Describe the crash PAYDAY 2 instantly crashes upon launching, with the following error popping up: "Failed to initialize the Wren system - check the log for details".

To Reproduce Steps to reproduce the behavior: Install the XM7 weapon mod from RJC9000. Removing this mod causes the crash to not occur. I'm unsure if this is even a BeardLib issue or if it's the weapon mod's issue.

Crashlog 05:54:26 AM Log: (C:\projects\payday2-superblt\src\debug\blt_debug.cpp:124) Command line: "F:\Program Files (x86)\Steam\steamapps\common\PAYDAY 2\payday2_win32_release.exe" 05:54:26 AM Log: (C:\projects\payday2-superblt\platforms\w32\signatures\signatures.cpp:350) Scanning for signatures in payday2_win32_release.exe 05:54:26 AM Log: (C:\projects\payday2-superblt\platforms\w32\signatures\signatures.cpp:402) Scanned for 56 signatures in 0 milliseconds with 0 cache misses 05:54:26 AM Log: (C:\projects\payday2-superblt\src\dbutil\DB.cpp:127) Start loading DB info 05:54:27 AM Log: (C:\projects\payday2-superblt\src\dbutil\DB.cpp:242) Finished loading DB info: 272765 files in 1028 ms 05:54:27 AM FATAL ERROR: (C:\projects\payday2-superblt\src\tweaker\wrenxml.cpp:264) Uncaught parse error!

05:54:27 AM Log: (C:\projects\payday2-superblt\src\tweaker\wrenloader.cpp:43) [WREN ERR] :-1 ] Uncaught parse error! 05:54:27 AM Log: (C:\projects\payday2-superblt\src\tweaker\wrenloader.cpp:43) [WREN ERR] base/native:32 ] 05:54:27 AM Log: (C:\projects\payday2-superblt\src\tweaker\wrenloader.cpp:43) [WREN ERR] base/private/xml_loader:391 ] load_supermodfile(,,) 05:54:27 AM Log: (C:\projects\payday2-superblt\src\tweaker\wrenloader.cpp:43) [WREN ERR] base/private/xml_loader:366 ] init() 05:54:27 AM Log: (C:\projects\payday2-superblt\src\tweaker\wrenloader.cpp:43) [WREN ERR] base/private/xml_loader:497 ] (script) 05:54:27 AM Log: (C:\projects\payday2-superblt\src\tweaker\wrenloader.cpp:43) [WREN ERR] base/base:2 ] (script) 05:54:27 AM Log: (C:\projects\payday2-superblt\src\tweaker\wrenloader.cpp:43) [WREN ERR] __root:1 ] (script) 05:54:27 AM FATAL ERROR: (C:\projects\payday2-superblt\src\tweaker\wrenloader.cpp:506) Wren init failed: compile or runtime error!

MiamiCenterPL commented 9 months ago

This is Custom Weapon issue, that is causing XML Tweaker to fail (it's a SuperBLT module) Please report it to the mod's author

Schepeppa commented 9 months ago

I took a nap, woke up, and tried it again and it just works now. This game baffles me in ways I can't begin to explain. I'm even more curious why this happened in the first place, or how I magically fixed it.