Norbyte / bg3se

Baldur's Gate 3 Script Extender
Other
1.11k stars 69 forks source link

Crash after new update #261

Closed Raymark97 closed 5 months ago

Raymark97 commented 7 months ago
BG3Ext v13 built on Jan 16 2024 20:05:24
Game version v4.47.63.283 OK
ScriptExtender::Initialize: Starting
No match found for mapping 'ls__PathRoots' [CRITICAL]
No match found for mapping 'EoCServer2/EoCClient2' [CRITICAL]
No match found for mapping 'ecl::EoCClient::HandleError' [CRITICAL]
No match found for mapping 'ecl::GameStateMachine::Update' [CRITICAL]
No match found for mapping 'esv::StatsSystem::ThrowDamageEvent'
No match found for mapping 'RPGStats::Load'
ScriptExtender::Initialize: Could not load libraries; skipping scripting extension initialization.
Library startup took 1211 ms
We're already past App load, triggering CoreLibInit
No match found for mapping 'RPGStats'
No match found for mapping 'ls::GlobalSwitches'
LibraryManager::PostStartupFindLibraries() took 243 ms
STARTUP ERROR: A severe error has occurred during Script Extender initialization. Extension features will be unavailable.
Fossilize ERROR: Failed to parse ApplicationInfoFilter, letting recording go through.
Fossilize INFO: Overriding serialization path: "F:\SteamLibrary\steamapps\shadercache\1086940\fozpipelinesv6\steamapprun_pipeline_cache".
ecl::ScriptExtender::OnGameStateChanged(): Loaded module
bg3se::ExtensionStateBase::LoadConfigs(): Mod manager not available
bg3se::ExtensionStateBase::LoadConfigs(): Mod manager not available

I read that BG autoupdates on launch, i think new bg3 update broke something

Crisal661 commented 7 months ago

im impossible play BG3 i delete all archives and reinstall game and not possible play

dlykely commented 7 months ago

im impossible play BG3 i delete all archives and reinstall game and not possible play

yes we just gotta wait for them to update script extender for the latest patch :)

Crisal661 commented 7 months ago

Soy imposible jugar BG3. Elimino todos los archivos y reinstalo el juego, pero no es posible jugar.

sí, solo tenemos que esperar a que actualicen el extensor de script para el último parche :)

but I want to play without mods in the meantime and it doesn't even let me in any way

Pyr0blad3 commented 7 months ago

@Crisal661 delete ...\Steam\steamapps\common\Baldurs Gate 3\bin\DWrite.dll if you didnt do that.

UPDATE for everybody else: I noticed that in the last minutes (arround 5:30 pm) a version of ScriptExtender was uploaded to the "release branch" but its still not working for me. still getting errors in the console on startup.

You can try for yourself and see if it works, even tho i doubt it. If i notice anything new i will try to update again if nobody else did it <3

Acarter52 commented 7 months ago

Has updated in game but still crashing for me

LostAndDead commented 7 months ago

Same for me, has updated but still crashes whenever I try to load any save or new game

Katnissfwuffkin commented 7 months ago

@Crisal661 delete ...\Steam\steamapps\common\Baldurs Gate 3\bin\DWrite.dll if you didnt do that.

UPDATE for everybody else: I noticed that in the last minutes (arround 5:30 pm) a version of ScriptExtender was uploaded to the "release branch" but its still not working for me. still getting errors in the console on startup.

You can try for yourself and see if it works, even tho i doubt it. If i notice anything new i will try to update again if nobody else did it <3

It say's updated but all the files still show the October date so I'm not sure that it has actually been updated?

Pyr0blad3 commented 7 months ago

UPDATE: New Update just came out! Seems to work, thanks everybody <3

Restart your BG3 Mod Makers. You can check if you also have the latest update under: BG3 Mod Manager -> settings -> open preferences -> updater -> select version (check if you have a version with a date and time not long ago - 6:33 pm)

@ut316ab and everybody having trouble finding it, here ya go: https://ibb.co/5vdqV3t

We also jumped from v13 -> v14 so welcome to that era!

ut316ab commented 7 months ago

I don't have an "updater" option in BG3 Mod Manager preferences window.

I did see in the Developer console that the Script Extender updated with a new version but my game still crashed.

I'm using the GOG version, would that have anything to do with it?

Kjellergy commented 7 months ago

UPDATE: New Update just came out! Seems to work, thanks everybody <3

Restart your BG3 Mod Makers. You can check if you also have the latest update under: BG3 Mod Manager -> settings -> open preferences -> updater -> select version (check if you have a version with a date and time not long ago - 6:33 pm)

We also jumped from v13 -> v14 so welcome to that era!

Stupid question, Still getting the crash, working with Vortex how can i see if i have the latest update?

Mornmagor commented 7 months ago

It's v14 for me, updated on 18:32, but still crashes hm :/

LostAndDead commented 7 months ago

It's v14 for me, updated on 18:32, but still crashes hm :/

Same for me, on steam. Updated but still crashes

kanra2 commented 7 months ago

same v14 but still crashes Captura de Ecrã (61)

Acarter52 commented 7 months ago

UPDATE: New Update just came out! Seems to work, thanks everybody <3 Restart your BG3 Mod Makers. You can check if you also have the latest update under: BG3 Mod Manager -> settings -> open preferences -> updater -> select version (check if you have a version with a date and time not long ago - 6:33 pm) We also jumped from v13 -> v14 so welcome to that era!

Stupid question, Still getting the crash, working with Vortex how can i see if i have the latest update?

I'm still crashing too

Gr3maL0rd commented 7 months ago

I don't have an "updater" option in BG3 Mod Manager preferences window.

I did see in the Developer console that the Script Extender updated with a new version but my game still crashed.

I'm using the GOG version, would that have anything to do with it?

same

arthurh3535 commented 7 months ago

Don't forget that other mods will probably need to update. Especially UI ones.

Pyr0blad3 commented 7 months ago

@ut316ab and everybody having trouble finding it, here ya go: https://ibb.co/5vdqV3t

iiiisy commented 7 months ago

Here it is still v13 even though updating

DruidRaeRae commented 7 months ago

EDIT: for everyone who wants to check if an update is released already and isnt sure. go into BG3 Mod Manager -> settings -> open preferences -> updater -> selected version (look for a version with todays date)

So I went to try this, but I got as far as opening preferences and I don't see anything that says "Updater"

Screenshot 2024-02-16 113835

I have the latest version of MM so I'm not sure what I'm missing here..

jutte8 commented 7 months ago

EDIT: for everyone who wants to check if an update is released already and isnt sure. go into BG3 Mod Manager -> settings -> open preferences -> updater -> selected version (look for a version with todays date)

So I went to try this, but I got as far as opening preferences and I don't see anything that says "Updater"

Screenshot 2024-02-16 113835

I have the latest version of MM so I'm not sure what I'm missing here..

it's the same for me

Shamora666 commented 7 months ago

Steam version, everything works again)!!! Many thanks to the author!!!

Pyr0blad3 commented 7 months ago

you guy should try to delete your DWrite.dll file in your bg3 files and install scriptextender with BG3 Mod Maker

Pyr0blad3 commented 7 months ago

here you find it in BG3 mod manager: https://ibb.co/NSqDSnv

np btw.

Acarter52 commented 7 months ago

It’s working. It’s another mod causing my crash through SE. Now to find which one it is!

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: NightShyft @.> Sent: Friday, February 16, 2024 5:44:24 PM To: Norbyte/bg3se @.> Cc: Acarter52 @.>; Comment @.> Subject: Re: [Norbyte/bg3se] Crash after new update (Issue #261)

here you find it in BG3 mod manager: https://ibb.co/NSqDSnv

— Reply to this email directly, view it on GitHubhttps://github.com/Norbyte/bg3se/issues/261#issuecomment-1948972374, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BGGTTDAHNNBGW52M4PYBM43YT6LHRAVCNFSM6AAAAABDL4WRPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBYHE3TEMZXGQ. You are receiving this because you commented.Message ID: @.***>

Mornmagor commented 7 months ago

Verifying game files now, will delete manually and reinstall script extender through manager

Will see then what's causing the issue

Edit: still crashes, will have to search mods, although it still says script extender crashed, so probably some mod using it

pineapplestars commented 7 months ago

here you find it in BG3 mod manager: https://ibb.co/NSqDSnv

np btw.

I feel really silly but if I follow those steps (after deleting the dll) I get this notification, I can download that fine but I'm not sure if it's supposed to be like this? This looks like I might be downloading the older version. I also don't have that option mentioned earlier where you can check for the version so I'm not sure if I'm doing it correctly. Apologies if I'm missing something really obvious!

image

Pyr0blad3 commented 7 months ago

for me it still seems to crash on game startup when at least 1 mod that requires ScriptExtender is in your active mod load order. tested it with only party limit begon (which only does 2 lines of code on startup) so seems like there still is something wrong with ScriptExtender for me personally. lets see.

tested everything on new game creations.

PockyPunk commented 7 months ago

To get the "update" section you need to enable the dev mod. But v14 is still crashing for me.

iiiisy commented 7 months ago

Sem título

Still crash, I'll wait for the other mods to be updated. At this point I think SE is no longer the problem.

LostAndDead commented 7 months ago

Checking the console when I load with the latest version I see errors from Community Library and Community Framework, so might be them causing problems, not sure.

Mornmagor commented 7 months ago

It's either every mod using script extender, or the script extender needs something else, but i have no idea

Pyr0blad3 commented 7 months ago

@Mornmagor mods like party limit begon do only 2 lines of scriptextender code (which you can also run manually) so they dont need an update to function. it has to be ScriptExtender still out of my perspective, but cant tell fore sure like 100%...

edit - mods like party limit begon (single player) btw.

LostAndDead commented 7 months ago

Yea im crashing any mod that uses script extender enabled

ut316ab commented 7 months ago

Yeah without any mods the game runs finally. However, as soon as you have any mod that uses the script extender it crashes with the same screen everyone else posts.

bonesforghooosts commented 7 months ago

image_2024-02-16_185428000 i'm still getting this crash right now, after having updated. i went in manually and deleted the DWrite.dll file and redownloaded the script extender, and i'm still getting this crash. not entirely sure what to do

Pyr0blad3 commented 7 months ago

back to the waiting game it doesnt seem to be the scriptextender mods causing this. again mods like party limit begon (sinlgeplayer) only execute 2 lines of code which could also be executed manually in the scriptextender console. so it should still be a problem from scriptextender itself... tested only party limit begon (singleplayer) and it still crashed on new game creation. sadge, but dont loose hope ya all <3

for reference and just so people dont think i just talk: " This mod simply runs two console commands, rather than patching the game to increase the party limit. If you would prefer to run these commands yourself rather than using this mod, follow the instructions below.

Osi.SetMaxPartySizeOverride(16) Osi.PROC_CheckPartyFull() "

this text is in a sticky note on the mod i used for testing.

DruidRaeRae commented 7 months ago

here you find it in BG3 mod manager: https://ibb.co/NSqDSnv

np btw.

YAY!!!! Thank you! That worked!! <3 Game is working now!

ut316ab commented 7 months ago

I hope this helps. I enabled More logging and this is what happens when I start a New Game:

esv::ScriptExtender::OnGameStateChanged(): Loading game session ScriptExtender::RestartLogging: Starting Osiris Runtime debug logging. Path=D:\BG3Logging\Osiris Runtime 2024-02-16 17-59-41.log Osiris Error: 8 error(s), 0 warning(s) in compilation. ScriptExtender::OnAfterOsirisLoad: 145972 nodes ExtensionStateServer::StoryLoaded() bg3se::esv::lua::OsirisBinding::StoryLoaded(): Not all identity adapters are available - some queries may not work! bg3se::esv::lua::OsirisCallbackManager::RegisterNodeHandler(): Couldn't register Osiris subscriber for PROC_StartTrade/4: Symbol must be an event, query, call, DB, PROC or QRY. ScriptExtender::Shutdown: Exiting CustomFunctionManager::ClearDynamicEntries(): Clearing dynamic functions CustomFunctionManager::ClearDynamicEntries(): Clearing dynamic functions ecl::ScriptExtender::Shutdown: Exiting

pineapplestars commented 7 months ago

It appears the game is working again without mods! Thank you to everyone who posted (also thank you for mentioning that that "upgrader" menu doesn't show unless you're in dev mode!), I was able to verify that I'm on the latest update and so far it seems that the game runs properly without mods active, which is fine for me at the moment. Thanks again!

NinioElninio commented 7 months ago

Screenshot_36 now im getting this. if i delete DWrite.dll game starts, then crashes after a few minutes in game, also without it most of my mods don't work.

Pyr0blad3 commented 7 months ago
  1. dont load saves where you onces had scriptextender mods and now you dont use scriptextender anymore.
  2. it seems like vulkan error. go into Bg3 Mod Manager -> Settings -> General -> Enable DirectX11 Mode (enable)

try again without loading a save where scriptextender was in use. cheers.

else i personally cant help further mabye its something else.

Mornmagor commented 7 months ago

Without any mods using script extender, it works. Without mods in general, it works.

With any mod using script extender, even if it's just tagged to use script extender, it crashes. Hm. Will probably have to wait for mods like appearance edit and transmog to get updated.

Maybe the script extender could be further tweaked as well? I have no idea how this works though.

Pyr0blad3 commented 7 months ago

New version is out again, like 10-15min ago. Got it to work with 1 scriptextender mod now. meaning to create a new game. mod: PickpockerAutosaver. it is the only mod i loaded when creating the new game.

Kjellergy commented 7 months ago

Weirdly was working for me, until i tried to lockpick a chest, then it crashed.

vraixen commented 7 months ago
  • UPDATE

New version is out again, like 10-15min ago. Got it to work with 1 scriptextender mod now. meaning to create a new game.

what does it mean?

Mornmagor commented 7 months ago

Maybe they are tweaking the script extender further to work with mods as they are? I don't know. But mods like tutorial chest summoning, appearance edit enhanced, transmog enhanced, and almost all others that use script extender crash the game.

Other mods that don't use it, like extra gear, even though they are not updated, are fine.

It's probably not script extender's fault now, probably the mods need updating.

lowenritt commented 7 months ago
  • UPDATE

New version is out again, like 10-15min ago. Got it to work with 1 scriptextender mod now. meaning to create a new game.

what does it mean?

It means SE is no longer the problem!

JulieApraksina commented 7 months ago

image Hi, have a problem with some mods which require SE. They said that need SE V4-13 and higher, but no installed se found... But i have SE dll in bin. So, i broke my head already. What is my problem?

Pyr0blad3 commented 7 months ago

good question, probably that its just buggy at this point and the scriptextender mods need an update either way. at least most. maybe some libaries and functions some mods are using are not available anymore. hard to tell tbh.

i can only tell, some scriptextender mods work for me now. some dont and still crash with the same crash report as before.

PhoenixYin commented 7 months ago

I'd been getting the same error block, but it's different now image

Not complaining, just adding in case it helps with troubleshooting. :)