Another fun day doing UE4 stuff. I’ve got a lovely crash/assert in UHT.
Anyone got a good strategy for finding out why UHT is crashing when generating headers?
I was compiling fine yesterday, did some new class definition work today and voila! crash! only I can’t debug it, because there’s no useful bloody error messages… here’s what I get:
1> Parsing headers for GroundBranchEditor 1> D:/Ground Branch/GroundBranch/Source/GroundBranch/Public/AI/GBAIController.h(10) : LogWindows:Error: Windows GetLastError: The operation completed successfully. (0) 1>Error : Failed to generate code for GroundBranchEditor - error code: CrashOrAssert (3) 1> UnrealHeaderTool failed for target 'GroundBranchEditor' (platform: Win64, module info: D:\Ground Branch\GroundBranch\Intermediate\Build\Win64\GroundBranchEditor\DebugGame\UnrealHeaderTool.manifest). 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ""D:\Epic Games\4.8\Engine\Build\BatchFiles\Build.bat" GroundBranchEditor Win64 DebugGame "D:\Ground Branch\GroundBranch\GroundBranch.uproject" -rocket" exited with code -1. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========
Don’t bother about the GBAIController.h that isn’t the problem, that’s been fine forever. Something else is breaking it all.
So please, have mercy on me and give me an idea how to debug this kind of thing. I really don’t want to have to debug UHT, but you know I will if I have to.