Unreal Engine not compiling

I was trying to compile my ToonTanks project and I got this compile error message:
I’m not really sure why this is happening and the project was compiling normally earlier. I’ve tried restarting the editor and my laptop but nothing worked.

Creating makefile for ToonTanksEditor (no existing makefile)
LogWindows: Error:
Parsing headers for ToonTanksEditor
Running UnrealHeaderTool “C:\Users\AlanG\Documents\Unreal Projects\ToonTanks\ToonTanks.uproject” “C:\Users\AlanG\Documents\Unreal Projects\ToonTanks\Intermediate\Build\Win64\ToonTanksEditor\Development\ToonTanksEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -abslog=“C:\Users\AlanG\AppData\Local\UnrealBuildTool\Log_UHT.txt” -installed
LogWindows: Error: === Critical error: ===
LogWindows: Error:
LogWindows: Error: Assertion failed: ClassData [File:D:/Build/++UE4/Sync/Engine/Source/Programs/UnrealHeaderTool/Private/CodeGenerator.cpp] [Line: 2972]
LogWindows: Error: No class data generated for file C:\Users\AlanG\Documents\Unreal Projects\ToonTanks\Source\ToonTanks\Pawns\PawnBase.h
LogWindows: Error: [Callstack] 0x00007ffded7a6f87 UnrealHeaderTool-Core.dll!FDebug::CheckVerifyFailedImpl()
LogWindows: Error: [Callstack] 0x00007ff7559f824f UnrealHeaderTool.exe!DispatchCheckVerify<void,<lambda_6bc11194a8e2d54987008f9101d81fe5> >()
LogWindows: Error: [Callstack] 0x00007ff75597d9b4 UnrealHeaderTool.exe!FNativeClassHeaderGenerator::ExportClassFromSourceFileInner()
LogWindows: Error: [Callstack] 0x00007ff75595196c UnrealHeaderTool.exe!<lambda_ce681c47332216e55ddef9d339a9c30e>::operator()()
LogWindows: Error: [Callstack] 0x00007ff7559c05ed UnrealHeaderTool.exe!ParallelForImpl::TParallelForData<TFunctionRef<void __cdecl(int)> >::Process()
LogWindows: Error: [Callstack] 0x00007ff75597ce26 UnrealHeaderTool.exe!TGraphTask<ParallelForImpl::TParallelForTask<TFunctionRef<void __cdecl(int)> > >::ExecuteTask()
LogWindows: Error: [Callstack] 0x00007ffded60e657 UnrealHeaderTool-Core.dll!FTaskThreadAnyThread::ProcessTasks()
LogWindows: Error: [Callstack] 0x00007ffded60eb40 UnrealHeaderTool-Core.dll!FTaskThreadAnyThread::ProcessTasksUntilQuit()
LogWindows: Error: [Callstack] 0x00007ffded615cc5 UnrealHeaderTool-Core.dll!FTaskThreadAnyThread::Run()
LogWindows: Error: [Callstack] 0x00007ffdeda01157 UnrealHeaderTool-Core.dll!FRunnableThreadWin::Run()
LogWindows: Error: [Callstack] 0x00007ffded9fa9e0 UnrealHeaderTool-Core.dll!FRunnableThreadWin::GuardedRun()
LogWindows: Error: [Callstack] 0x00007ffe9b6f7034 KERNEL32.DLL!UnknownFunction
LogWindows: Error: [Callstack] 0x00007ffe9d422651 ntdll.dll!UnknownFunction
LogWindows: Error:
LogWindows: Error:
LogWindows: Error:

What engine version are you using? Could you try verifying it?
verify

I’m using version 4.26.2. I tried to verify it but it didn’t change anything.

Was this previously working? Did you just start the section?

This was always working previously and has never happened before. I am at the end of the lecture about spawning particles.

Could you show your PawnBase.h?

1 Like

I just realized there was a semicolon missing in one of the forward declarations and everything is working now. Sorry for the bother.

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

Privacy & Terms