Crash on "New C++ Class" Menü

I want to create a new class within Unreal. But unfortunatelly Unreal crashes everytime i choose “New C++ Class” from the context menu. Why?

Here You have a part of the log-file:

2018.07.13-11.52.06:918][929]Running C:/Program Files/Epic Games/UE_4.19/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“C:/…” -game -rocket -progress
[2018.07.13-11.52.07:120][929]Discovering modules, targets and source code for project…
[2018.07.13-11.52.45:922][339]LogWindows: Windows GetLastError: Der Vorgang wurde erfolgreich beendet. (0)
[2018.07.13-11.52.46:371][339]LogWindows: Error: === Critical error: ===
[2018.07.13-11.52.46:371][339]LogWindows: Error:
[2018.07.13-11.52.46:371][339]LogWindows: Error: Assertion failed: CurrentModules.Num() [File:D:\Build++UE4+Release-4.19+Compile\Sync\Engine\Source\Editor\GameProjectGeneration\Private\SNewClassDialog.cpp] [Line: 99]
[2018.07.13-11.52.46:371][339]LogWindows: Error:
[2018.07.13-11.52.46:371][339]LogWindows: Error:
[2018.07.13-11.52.46:371][339]LogWindows: Error:
[2018.07.13-11.52.46:371][339]LogWindows: Error: [Callstack] 0x00000000902250D8 KERNELBASE.dll!UnknownFunction []
[2018.07.13-11.52.46:371][339]LogWindows: Error: [Callstack] 0x00000000695C7884 UE4Editor-ApplicationCore.dll!UnknownFunction []
[2018.07.13-11.52.46:371][339]LogWindows: Error: [Callstack] 0x0000000065526D9B UE4Editor-Core.dll!UnknownFunction []
[2018.07.13-11.52.46:371][339]LogWindows: Error: [Callstack] 0x0000000065461939 UE4Editor-Core.dll!UnknownFunction []
[2018.07.13-11.52.46:371][339]LogWindows: Error: [Callstack] 0x000000003BCF4B58 UE4Editor-GameProjectGeneration.dll!UnknownFunction []
[2018.07.13-11.52.46:371][339]LogWindows: Error: [Callstack] 0x000000003BCD6017 UE4Editor-GameProjectGeneration.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x000000003BD642B1 UE4Editor-GameProjectGeneration.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x000000003BD63E66 UE4Editor-GameProjectGeneration.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000315A3AD8 UE4Editor-ContentBrowser.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x000000003156816C UE4Editor-ContentBrowser.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x000000003157020C UE4Editor-ContentBrowser.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x000000003157108E UE4Editor-ContentBrowser.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000314BFACF UE4Editor-ContentBrowser.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x0000000031570A41 UE4Editor-ContentBrowser.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x000000006439F26B UE4Editor-Slate.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000643A5D48 UE4Editor-Slate.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x0000000064304422 UE4Editor-Slate.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x0000000064305A29 UE4Editor-Slate.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x0000000064380E65 UE4Editor-Slate.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x000000006443B7F7 UE4Editor-Slate.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000644619E8 UE4Editor-Slate.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000643A7E3D UE4Editor-Slate.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x000000006428485C UE4Editor-Slate.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x0000000064257D75 UE4Editor-Slate.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000642EF617 UE4Editor-Slate.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000642D7D0D UE4Editor-Slate.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000642CB3E2 UE4Editor-Slate.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000695BE69B UE4Editor-ApplicationCore.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000695B1B78 UE4Editor-ApplicationCore.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000695C052C UE4Editor-ApplicationCore.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000695AD679 UE4Editor-ApplicationCore.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x000000009125B85D USER32.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x000000009125B1EF USER32.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000695C1666 UE4Editor-ApplicationCore.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000481E5475 UE4Editor.exe!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000481F6BD0 UE4Editor.exe!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000481F6C4A UE4Editor.exe!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x0000000048204149 UE4Editor.exe!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x0000000048205B57 UE4Editor.exe!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x00000000917B1FE4 KERNEL32.DLL!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x0000000093C7CB31 ntdll.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error: [Callstack] 0x0000000093C7CB31 ntdll.dll!UnknownFunction []
[2018.07.13-11.52.46:372][339]LogWindows: Error:
[2018.07.13-11.52.46:386][339]LogExit: Executing StaticShutdownAfterError
[2018.07.13-11.52.46:388][339]LogWindows: FPlatformMisc::RequestExit(1)
[2018.07.13-11.52.46:388][339]Log file closed, 07/13/18 13:52:46

Are all the pre-reqs installed? Windows SDK? The best way that I know that everything is installed when running the Visual Studio 2017 installer, choose C++ Game Development and then the Unreal Launcher. It will select the correct Windows SDK. When you move to 4.20, you will no longer need the Windows 8.1SDK as it will use 10.

If none of teak421’s suggestions work for you, you can also try downloading the editor symbols to potentially help you with the “UnknownFunction” bits. To do so, go to the engine’s dropdown in the launcher, select “Options,” then make sure “Editor symbols for debugging” is checked.

On a side note, do you have an “= default” method anywhere in your code? If so, I’ve found that doing so can cause the engine to crash whenever there is a recompile.

Followed Your steps as described. Changed nothing. I cant move to 4.20 because the project spec is 4.19

Thank You for the suggestion, but the installation of the symbols didn’t changed anything. The breakpoint leads me to the following position:

Do you still have your “[ProjectName].Build.cs” file? Looking at the source for “GameProjectUtils::GetCurrentProjectModules” it seems like if you don’t have that file then no modules would be found.

Yes, I have this file.

Hmm… Can you try deleting your Saved and Intermediate folders, regenerating the project files, and then rebuilding to see if this still happens?

Have you found a solution to this issue? or the cause?
I am in the same situation