Pure virtual function being called at WindowsPlatformMisc.cpp

Lately when compiling I’ve randomly received the following error that crashes the editor:

Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Windows/WindowsPlatformMisc.cpp] [Line: 475] Pure virtual function being called

I’m gonna start compiling from VisualStudio and I’ll verify the engine files hoping that helps. But I’m curious as to what this error means and maybe verifying the engine files won’t fix it. I’ll mark it as solved if that fixes it.

This is the last few lines of the corresponding log file

[2021.12.14-23.56.26:310][604]BlueprintLog: New page: Compile WBP_MainMenu
[2021.12.14-23.56.26:483][604]LogUObjectHash: Compacting FUObjectHashTables data took 8.66ms
[2021.12.14-23.56.29:225][892]LogTemp: Repeating last play command: Selected Viewport
[2021.12.14-23.56.29:233][892]LogPlayLevel: PlayLevel: No blueprints needed recompiling
[2021.12.14-23.56.29:233][892]PIE: New page: PIE session: MainMenu (Dec 14, 2021, 5:56:29 PM)
[2021.12.14-23.56.29:233][892]LogTemp: Error: Calling GameInstance constructor
[2021.12.14-23.56.29:233][892]LogTemp: Warning: Found BP_PlatformTrigger_C
[2021.12.14-23.56.29:233][892]LogTemp: Warning: Found WBP_MainMenu_C
[2021.12.14-23.56.29:233][892]LogPlayLevel: Creating play world package: /Game/UI/UEDPIE_0_MainMenu
[2021.12.14-23.56.29:235][892]LogPlayLevel: PIE: StaticDuplicateObject took: (0.001046s)
[2021.12.14-23.56.29:235][892]LogAIModule: Creating AISystem for world MainMenu
[2021.12.14-23.56.29:236][892]LogPlayLevel: PIE: World Init took: (0.001187s)
[2021.12.14-23.56.29:236][892]LogPlayLevel: PIE: Created PIE world by copying editor world from /Game/UI/MainMenu.MainMenu to /Game/UI/UEDPIE_0_MainMenu.MainMenu (0.002361s)
[2021.12.14-23.56.35:943][892]Message dialog closed, result: Ok, title: Message, text: Pure virtual function being called while application was running (GIsRunning == 1).
[2021.12.14-23.56.35:943][892]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2021.12.14-23.56.38:717][892]LogThreadingWindows: Error: Runnable thread TaskGraphThreadNP 3 crashed.
[2021.12.14-23.56.38:718][892]LogWindows: Error: === Critical error: ===
[2021.12.14-23.56.38:718][892]LogWindows: Error:
[2021.12.14-23.56.38:718][892]LogWindows: Error: Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Windows/WindowsPlatformMisc.cpp] [Line: 475]
[2021.12.14-23.56.38:718][892]LogWindows: Error: Pure virtual function being called
[2021.12.14-23.56.38:718][892]LogWindows: Error:
[2021.12.14-23.56.38:718][892]LogWindows: Error:
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffde8474f69 KERNELBASE.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffda5eed066 UE4Editor-Core.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffda5ef07a8 UE4Editor-Core.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffda5bfe8cd UE4Editor-Core.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffda5f07360 UE4Editor-Core.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffdd8ae6c44 VCRUNTIME140.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffdc56604b4 UE4Editor-CoreUObject.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffdc58a635b UE4Editor-CoreUObject.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffdc5866c61 UE4Editor-CoreUObject.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffdc586fb18 UE4Editor-CoreUObject.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffda59adf05 UE4Editor-Core.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffda59af160 UE4Editor-Core.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffda59b6495 UE4Editor-Core.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffda5f0898b UE4Editor-Core.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffda5f01620 UE4Editor-Core.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffde93d7034 KERNEL32.DLL!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error: [Callstack] 0x00007ffdeaaa2651 ntdll.dll!UnknownFunction
[2021.12.14-23.56.38:718][892]LogWindows: Error:
[2021.12.14-23.56.38:718][892]LogWindows: Error: Crash in runnable thread TaskGraphThreadNP 3
[2021.12.14-23.56.38:732][892]LogExit: Executing StaticShutdownAfterError
[2021.12.14-23.56.38:732][892]LogWindows: FPlatformMisc::RequestExit(1)
[2021.12.14-23.56.38:732][892]LogCore: Engine exit requested (reason: Win RequestExit)
[2021.12.14-23.56.38:734][892]Log file closed, 12/14/21 20:56:38

Hi, I think this happens with the code and is frustrating. I’ve seen it too but never found the source of the issue.

As far as I can tell, it’s not the engine and I think it’s related to the widgets. It’s a bit random which makes it harder to track down.

Sorry I can’t be of more help.

1 Like

I see. Well I’ll keep an eye out and do some more testing to see if it happens again. If I happen to find the reason of the problem I’ll post it here. If I don’t post anything, future readers, it’s because the problem just disappeared.

1 Like

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

Privacy & Terms