maximegmd / CyberEngineTweaks

Cyberpunk 2077 tweaks, hacks and scripting framework
MIT License
4.48k stars 285 forks source link

CET 1.31.x and 1.32.x, REDEngineErrorReporter.exe crashes on every game application startup. #934

Closed anygoodname closed 5 months ago

anygoodname commented 6 months ago

Hello,

REDEngineErrorReporter.exe crashes on every game application startup with the version.dll v6.0.0 installed in the ..\Cyberpunk 2077\bin\x64 folder. The game application itself is unaffected so severity level is down to irritating crash messages in this case. I tracked it down to the version.dll file on a clean game install (disabling cyber_engine_tweaks.asi does not help so it's not the culprit) It seems to be caused by some debugging code failing as the error message details it to:

An unhandled win32 exception occurred in [8184] REDEngineErrorReporter.exe. Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled. In Visual Studio, Just-In-Time debugging can be enabled from Tools/Options/Debugging/Just-In-Time.

As a workaround I disabled the REDEngineErrorReporter.exe by renaming the file to stop the annoying messages, however I believe there is something in the version.dll that should be amended.

Regards. Anygoodname. Screenshot (6534)

anygoodname commented 6 months ago

Update: possibly related to Visual Studio leftovers: https://learn.microsoft.com/en-us/visualstudio/debugger/debug-using-the-just-in-time-debugger?view=vs-2019 Nope. if removed, the process still crashes with the Windows log reporting:

Faulting application name: REDEngineErrorReporter.exe, version: 0.0.0.0, time stamp: 0x65d78a5f Faulting module name: VERSION.dll, version: 6.0.0.0, time stamp: 0x65e1b757 Exception code: 0xc0000409 Fault offset: 0x000000000006d88d Faulting process id: 0x2148 Faulting application start time: 0x01da6f2f6d694551 Faulting application path: D:\GOG Games\Cyberpunk 2077\bin\x64\REDEngineErrorReporter.exe Faulting module path: D:\GOG Games\Cyberpunk 2077\bin\x64\VERSION.dll Report Id: 76c51dc6-f99c-4341-a3af-358ba7bf7842 Faulting package full name: Faulting package-relative application ID:

anygoodname commented 5 months ago

Same issue in CET 1.32.0 and 1.32.1

leutnantlurch commented 5 months ago

Same here: AppName REDEngineErrorReporter.exe AppVersion 0.0.0.0 AppTimeStamp 65f416ce ModuleName VERSION.dll ModuleVersion 6.0.0.0 ModuleTimeStamp 65e1b757 ExceptionCode c0000409 FaultingOffset 000000000006d88d ProcessId 0x8074 ProcessCreationTime 0x1da7bd7eb0e5ead AppPath C:\Spiele\GOG Games\Cyberpunk 2077\bin\x64\REDEngineErrorReporter.exe ModulePath C:\Spiele\GOG Games\Cyberpunk 2077\bin\x64\VERSION.dll IntegratorReportId a7727eb8-1853-488a-b284-aaf39efeedd7 PackageFullName
PackageRelativeAppId

AppName REDEngineErrorReporter.exe AppVersion 0.0.0.0 AppTimeStamp 65f416ce ModuleName KERNELBASE.dll ModuleVersion 10.0.22621.3235 ModuleTimeStamp 2b72307b ExceptionCode e06d7363 FaultingOffset 0000000000065b0c ProcessId 0x8074 ProcessCreationTime 0x1da7bd7eb0e5ead AppPath C:\Spiele\GOG Games\Cyberpunk 2077\bin\x64\REDEngineErrorReporter.exe ModulePath C:\WINDOWS\System32\KERNELBASE.dll IntegratorReportId ed060707-d03e-4551-9408-709896a7f970 PackageFullName
PackageRelativeAppId

AppName REDEngineErrorReporter.exe AppVersion 0.0.0.0 AppTimeStamp 65f416ce ModuleName VERSION.dll ModuleVersion 6.0.0.0 ModuleTimeStamp 65e1b757 ExceptionCode c0000409 FaultingOffset 000000000006d88d ProcessId 0x8294 ProcessCreationTime 0x1da7bd3443ba0b2 AppPath C:\Spiele\GOG Games\Cyberpunk 2077\bin\x64\REDEngineErrorReporter.exe ModulePath C:\Spiele\GOG Games\Cyberpunk 2077\bin\x64\VERSION.dll IntegratorReportId bf6015bf-5a35-4480-bd03-fe567368a36c PackageFullName
PackageRelativeAppId

AppName REDEngineErrorReporter.exe AppVersion 0.0.0.0 AppTimeStamp 65f416ce ModuleName KERNELBASE.dll ModuleVersion 10.0.22621.3235 ModuleTimeStamp 2b72307b ExceptionCode e06d7363 FaultingOffset 0000000000065b0c ProcessId 0x8294 ProcessCreationTime 0x1da7bd3443ba0b2 AppPath C:\Spiele\GOG Games\Cyberpunk 2077\bin\x64\REDEngineErrorReporter.exe ModulePath C:\WINDOWS\System32\KERNELBASE.dll IntegratorReportId 71936634-c0dc-4cca-add5-e22ccd357dbe PackageFullName
PackageRelativeAppId

AussiePatriot commented 5 months ago

Hello,

REDEngineErrorReporter.exe crashes on every game application startup with the version.dll v6.0.0 installed in the ..\Cyberpunk 2077\bin\x64 folder. The game application itself is unaffected so severity level is down to irritating crash messages in this case. I tracked it down to the version.dll file on a clean game install (disabling cyber_engine_tweaks.asi does not help so it's not the culprit) It seems to be caused by some debugging code failing as the error message details it to:

An unhandled win32 exception occurred in [8184] REDEngineErrorReporter.exe. Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled. In Visual Studio, Just-In-Time debugging can be enabled from Tools/Options/Debugging/Just-In-Time.

As a workaround I disabled the REDEngineErrorReporter.exe by renaming the file to stop the annoying messages, however I believe there is something in the version.dll that should be amended.

Regards. Anygoodname. Screenshot (6534)

I also get these exact errors. Version.dll is a file created by CET correct? if thats the case then only the creator of CET would be able to fix it?

WSSDude commented 5 months ago

Version.dll is Ultimate ASI Loader. You may try to download latest release of it if it doesnt help by a chance if that is causing the crash seemingly.

WSSDude commented 5 months ago

https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases/tag/v7.1.0

If it helps, we can bump version we use (I think we currently use 5.0 or something like that)

anygoodname commented 5 months ago

https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases/tag/v7.1.0

If it helps, we can bump version we use (I think we currently use 5.0 or something like that)

Thank you. Unfortunately none of the versions 5.6 up to 7.1 worked for me - while they try to load the asi, it all ends up in in a fatal error and the game application collapsing on that: Screenshot (6600)

As I cannot identify the version used by the CET, I cannot compare anything for changes.

AussiePatriot commented 5 months ago

Yes I am the same, all fatal error when trying to use 6.3 to latest 7.1

maximegmd commented 5 months ago

You must use the one packed with CET, it's a fork. https://github.com/maximegmd/Ultimate-ASI-Loader

anygoodname commented 5 months ago

So there is no other version.dll than the one already included in the 1.32.1 distribution?

WSSDude commented 5 months ago

Yeah, and it seems this is latest one. Had not noticed we switched to custom fork, wouldn't suggest it. Guess maybe we have sth wrong in the fork? :suspect: I dont think we had this issue before with vanilla ASI loader.

anygoodname commented 5 months ago

It started with the CET 1.31 when switched back to asi.

maximegmd commented 5 months ago

Can you try this dll: version.zip

WSSDude commented 5 months ago

Hm, wanted to test if I can replicate this on Steam Deck by a chance (as I have nothing better at hand atm) and I can't, even with former release. Funny when Linux works better than Windows with native Windows apps/mods...

anygoodname commented 5 months ago

Can you try this dll: version.zip

Barring a binge error message (screenshot below) at the process startup, it all seems to work fine. The REDEngineErrorReporter.exe works fine too. So it seems like a good candidate. Screenshot (6605)

maximegmd commented 5 months ago

Fixed in v1.32.2, uploading once the build finishes :)

anygoodname commented 5 months ago

Thanks a lot! :)

maximegmd commented 5 months ago

https://github.com/maximegmd/CyberEngineTweaks/releases/tag/v1.32.2

AussiePatriot commented 5 months ago

I've just woken up its morning here, I'll check out the new update and see how we go :D

AussiePatriot commented 5 months ago

Well, I got another crash to desktop after playing maybe about 30 mins, this time however nothing reported in windows event viewer (at the time of crash) or from RedEngineErrorReporter. So thats a good sign the updated CET is working. But frustrating that crashes still happen with nothing to go on.

anygoodname commented 5 months ago

This case is about REDEngineErrorReporter.exe crashing on version.dll startup which has been fixed in the CET 1.32.2. If you experience other issues, please open a separate case. This case is closed as solved now.

WSSDude commented 5 months ago

Nah, rather hop on Discord first. That should help identify if it is really some issue with CET first. A lot of times, these are unrelated issues to CET and instead are caused by other CET mod.

Issue will get closed without proof it is actually CET doing it.

We dont have enough free time to look into every single mod you use to determine it is not our issue in the end anyway and most of the time, it isnt as history has proven.

TacoDog311 commented 1 month ago

I'm getting "unable to load cyber engine tweaks.asi. error 998" using 1.32.3, reverting back to 1.32.2 loaded correctly.

maximegmd commented 1 month ago

read the instructions.