maximegmd / CyberEngineTweaks

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

CET causes the game to crash with the EXEPTION ACCESS VIOLATION error (tested with CET latest version) #917

Closed Trigger58 closed 7 months ago

Trigger58 commented 7 months ago

README

Github is NOT here for support and general questions, it's designed for developers to discuss development and code. If your issue is unrelated to anything technical, do not make an issue, you will be blocked and your issue closed without an answer.

Bug

Operating system: Windows 11 Game version: Cyberpunk 2077 v2.1 CET version: 1.29.1 GPU: RTX 4070

Description

If i enable CET the game crash every time i play. Most times if i destroy many things like cars, ... The game crash error is every time the same:

Error reason: Unhandled exception Expression: EXCEPTION_ACCESS_VIOLATION (0xC0000005) Message: The thread attempted to read inaccessible data at 0x10. File: (0)

Expected behaviour

Write here what you expect to happen instead.

Reproduction

As long as CET is enabled (i use vortex for this) the game crash. If i disable CET then i can destroy hundreds of cars in a row. The city looks like after an catastroph but no crash. at this time i enable CET, the game crash random but it crash.

Trigger58 commented 7 months ago

I played again and took a look into the "cyber_engine_tweaks.log". This is the last line it logged before another crash

[2024-01-25 20:32:34 UTC+01:00] [info] [bool cdecl `anonymous-namespace'::InitializeTweakDBMetadata(class tsl::hopscotch_map<unsigned int64,struct TDBIDLookupEntry,struct std::hash<unsigned int64>,struct std::equal_to<unsigned int64>

hope that helps

Trigger58 commented 7 months ago

This Issue can be closed. I found the problem. The issue was caused by the mod "Immersive First Person". After deleting the folder CET is running fine now.