Installed Unity and got Unreal crashing with VCRUNTIME140.dll error

The problem is I had everything good in my UE5.1 project until I decided to download Unity latest version (6 something…). It installed its own dependencies and now I have my project crashing when launched in PIE several seconds after launched. The error seems to be in VCRUNTIME140.dll, I searched for errors related to them and already reinstalled Visual C++ 2015 and Visual C++ 2015-2022 with both x64 and x86 versions, but it didn’t help. Any suggestions for me not to have to reinstall Windows?

[2025.01.20-19.24.53:351][342]LogThreadingWindows: Error: Runnable thread FImgMediaSchedulerThread 0 crashed.
[2025.01.20-19.24.53:354][343]LogWindows: Error: === Critical error: ===
[2025.01.20-19.24.53:354][343]LogWindows: Error: 
[2025.01.20-19.24.53:354][343]LogWindows: Error: Fatal error!
[2025.01.20-19.24.53:354][343]LogWindows: Error: 
[2025.01.20-19.24.53:354][343]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION writing address 0x000004b19dc20000
[2025.01.20-19.24.53:354][343]LogWindows: Error: 
[2025.01.20-19.24.53:354][343]LogWindows: Error: [Callstack] 0x00007ffb1ae6174e VCRUNTIME140.dll!UnknownFunction []
[2025.01.20-19.24.53:354][343]LogWindows: Error: [Callstack] 0x00007ffa8ee5b372 UnrealEditor-ImgMedia.dll!FGenericImgMediaReader::ReadFrame() [C:\Users\JediKnight\Documents\UnrealEngine\Engine\Plugins\Media\ImgMedia\Source\ImgMedia\Private\Readers\GenericImgMediaReader.cpp:182]
[2025.01.20-19.24.53:354][343]LogWindows: Error: [Callstack] 0x00007ffa8ee46f50 UnrealEditor-ImgMedia.dll!FImgMediaLoaderWork::DoThreadedWork() [C:\Users\JediKnight\Documents\UnrealEngine\Engine\Plugins\Media\ImgMedia\Source\ImgMedia\Private\Loader\ImgMediaLoaderWork.cpp:87]
[2025.01.20-19.24.53:354][343]LogWindows: Error: [Callstack] 0x00007ffa8ee65395 UnrealEditor-ImgMedia.dll!FImgMediaSchedulerThread::Run() [C:\Users\JediKnight\Documents\UnrealEngine\Engine\Plugins\Media\ImgMedia\Source\ImgMedia\Private\Scheduler\ImgMediaSchedulerThread.cpp:89]
[2025.01.20-19.24.53:354][343]LogWindows: Error: [Callstack] 0x00007ffad131a112 UnrealEditor-Core.dll!FRunnableThreadWin::Run() [C:\Users\JediKnight\Documents\UnrealEngine\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:149]
[2025.01.20-19.24.53:354][343]LogWindows: Error: [Callstack] 0x00007ffad1311e8a UnrealEditor-Core.dll!FRunnableThreadWin::GuardedRun() [C:\Users\JediKnight\Documents\UnrealEngine\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:79]
[2025.01.20-19.24.53:354][343]LogWindows: Error: [Callstack] 0x00007ffb1e747374 KERNEL32.DLL!UnknownFunction []
[2025.01.20-19.24.53:354][343]LogWindows: Error: [Callstack] 0x00007ffb206bcc91 ntdll.dll!UnknownFunction []
[2025.01.20-19.24.53:354][343]LogWindows: Error:

Ok, it seems not to be related to Unity or DLLs, though it means broken Unreal debugger.

Firstly, if I go several commits ago before some blueprint changes, game won’t crash, I managed to find the latest commit where it works and probably will have to start from there.

Secondly, some hints are actually about it’s internal problem of game code (on screenshot it’s something related to GAS and input system)

The solution for now is to go back to latest working commit and try to find the change that caused this behaviour.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.