Engine PIE crashing due to... KERNEL32.DLL?!

Hello, I transfered my project to a new PC (it works perfectly on the other) and when I try to run it, it gives me an error I can’t quite comprehend, but it seems to be saying that my OS has some kind of beef with FPlatformStackWalk::StackWalkAndDump?

[2024.09.19-20.41.01:329][905]LogOutputDevice: Warning: Script Stack (0 frames) :
[2024.09.19-20.41.01:626][905]LogStats: FPlatformStackWalk::StackWalkAndDump -  0.288 s
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: === Handled ensure: ===
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: 
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: Ensure condition failed: !bGraphDataInvalid  [File:D:\build\++UE5\Sync\Engine\Source\Editor\GraphEditor\Private\SGraphPin.cpp] [Line: 914] 
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: The Graph Pin Object has been invalidated. Someone is keeping a hard ref on the SGraphPin (SGraphPinKnot [SGraphNodeKnot.cpp(428)]). See InvalidateGraphData for more info
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: Stack: 
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff836cbf0f1 UnrealEditor-GraphEditor.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff836bd4e08 UnrealEditor-GraphEditor.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff836cbc706 UnrealEditor-GraphEditor.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff836a5cee2 UnrealEditor-GraphEditor.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff836c56334 UnrealEditor-GraphEditor.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff836c540f5 UnrealEditor-GraphEditor.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff84775266a UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847751ad1 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847eda560 UnrealEditor-Slate.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847751ad1 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847751ad1 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847eda374 UnrealEditor-Slate.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff84775266a UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477566f2 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477527ab UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847751ad1 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477566f2 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847edeac1 UnrealEditor-Slate.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847751ad1 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477566f2 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847edeac1 UnrealEditor-Slate.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff84775266a UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477566f2 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477527ab UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff84775266a UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847751ad1 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477566f2 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477527ab UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847751ad1 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847751ad1 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847eda374 UnrealEditor-Slate.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff84775266a UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477566f2 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:626][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477527ab UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847751ad1 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477566f2 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847edeac1 UnrealEditor-Slate.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff84775266a UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477566f2 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477527ab UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff84775266a UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847751ad1 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477566f2 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477527ab UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477566f2 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff8477527ab UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff84775266a UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847751ad1 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847755925 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847786892 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff8475881bc UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847786c80 UnrealEditor-SlateCore.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847b8f615 UnrealEditor-Slate.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847bb518e UnrealEditor-Slate.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847b8fc61 UnrealEditor-Slate.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847bd7514 UnrealEditor-Slate.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff847bd6be2 UnrealEditor-Slate.dll!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff6c56d9d0f UnrealEditor.exe!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff6c56fd28c UnrealEditor.exe!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff6c56fd37a UnrealEditor.exe!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff6c5700854 UnrealEditor.exe!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff6c5716984 UnrealEditor.exe!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff6c5719d7a UnrealEditor.exe!UnknownFunction []
[2024.09.19-20.41.01:627][905]LogOutputDevice: Error: [Callstack] 0x00007ff897d47374 KERNEL32.DLL!UnknownFunction []

I’ve neither tampered FPlatformStackWalk::StackWalkAndDump nor KERNEL32.DLL.
How can I figure out what is uppseting the engine this time? The project runs on another PC with no issues, and the build runs on both PCs. It only crashes on this PC if I run it via the PIE.

For the record, D:\build\++UE5\Sync\Engine\Source\Editor\GraphEditor\Private\SGraphPin.cpp does not exist. The project is in C:\ drive. Should I try to re-compile the entire project so that it figures itself out? What else can I do and how? I’m quite bad when it comes to code or hardware problems.

The StackWalkAndDump is a reporting tool from ue, same for SGraphPin but this one come from a bp node pin which lead to these escalating errors.

Sometime when moving/upgrading project there a bug with a node pin compiling, you will have to open each bp class and see if there any popup errors.

Checkout the output log when the project launched for any hint.

Delete the folder Intermediate and DerivedCache from your project folder, and then let it recompile.

I tried, and Unreal claims it lacks writing permission. But my account is the admin, and I am the owner of the project folder and all subfolders/files in the security pannel…

if your editor and project are either in D, you will need to install them on C local drive (or some other workaround to give permission to these folders)

double if you have any antivirus/firewall that might block ue as well.

Both are on the C drive. Default installation directory of C:\Program Files\Epic Games.
No antivirus or firewall blocking either as far as Windows says.

Unreal just seemingly thinks it can’t write to its own folder despite having the rights…

I even tried using a ZIP backup made by the engine, and that just caused it to print this out: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp] [Line: 2616] Failed to create Intermediate directory '../../../../Projects/UnknownElement/Intermediate/'. It crashes on startup, not even when trying to use the PIE.

Clearly, the project probably has some old paths written in, and somehow this engine can’t figure that out and correct them on its own…

I re-installed the launcher, engine, and project. And now everything except compiling works. Know what? Good enough.