Game Compile Crashes all of a Sudden due to an Engine Error from Splines.

Anyone got any idea what could be causing this engine hitch?
Not really using any splines ingame besides one grip spline that uses “find location closest to world location” node…

Here’s the resulting compile error.


UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: begin: stack for UAT
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: === Critical error: ===
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: Assertion failed: Rotation.Points.Num() == NumPoints && Scale.Points.Num() == NumPoints [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/Components/SplineComponent.cpp] [Line: 156]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffdf13ea799 KERNELBASE.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffda743a7b6 UE4Editor-Core.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffda743dc58 UE4Editor-Core.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffda71f2c7d UE4Editor-Core.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffda717fd43 UE4Editor-Core.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffda71820c0 UE4Editor-Core.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9dd698c8 UE4Editor-Engine.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9dd69db2 UE4Editor-Engine.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9dd1fa62 UE4Editor-Engine.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9dd202cf UE4Editor-Engine.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9dbf99bf UE4Editor-Engine.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9d846ca4 UE4Editor-Engine.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9d86fc10 UE4Editor-Engine.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9e122486 UE4Editor-Engine.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9eb35590 UE4Editor-Engine.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9ab0ca2d UE4Editor-UnrealEd.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9ab23f28 UE4Editor-UnrealEd.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9a9cd902 UE4Editor-UnrealEd.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9a9cfcbc UE4Editor-UnrealEd.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9a9dac89 UE4Editor-UnrealEd.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9a872728 UE4Editor-UnrealEd.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffd9a897fcf UE4Editor-UnrealEd.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff653af2fb0 UE4Editor-Cmd.exe!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff653aec17c UE4Editor-Cmd.exe!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff653aec4ca UE4Editor-Cmd.exe!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff653afceae UE4Editor-Cmd.exe!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ff653afede2 UE4Editor-Cmd.exe!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffdf3107bd4 KERNEL32.DLL!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: [Callstack] 0x00007ffdf390ce51 ntdll.dll!UnknownFunction ]
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error:
UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: end: stack for UAT
PackagingResults: Error: begin: stack for UAT
PackagingResults: Error: === Critical error: ===
PackagingResults: Error: Assertion failed: Rotation.Points.Num() == NumPoints && Scale.Points.Num() == NumPoints [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/Components/SplineComponent.cpp] [Line: 156]
PackagingResults: Error: [Callstack] 0x00007ffdf13ea799 KERNELBASE.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffda743a7b6 UE4Editor-Core.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffda743dc58 UE4Editor-Core.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffda71f2c7d UE4Editor-Core.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffda717fd43 UE4Editor-Core.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffda71820c0 UE4Editor-Core.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9dd698c8 UE4Editor-Engine.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9dd69db2 UE4Editor-Engine.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9dd1fa62 UE4Editor-Engine.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9dd202cf UE4Editor-Engine.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9dbf99bf UE4Editor-Engine.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9d846ca4 UE4Editor-Engine.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9d86fc10 UE4Editor-Engine.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9e122486 UE4Editor-Engine.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9eb35590 UE4Editor-Engine.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9ab0ca2d UE4Editor-UnrealEd.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9ab23f28 UE4Editor-UnrealEd.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9a9cd902 UE4Editor-UnrealEd.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9a9cfcbc UE4Editor-UnrealEd.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9a9dac89 UE4Editor-UnrealEd.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9a872728 UE4Editor-UnrealEd.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffd9a897fcf UE4Editor-UnrealEd.dll!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ff653af2fb0 UE4Editor-Cmd.exe!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ff653aec17c UE4Editor-Cmd.exe!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ff653aec4ca UE4Editor-Cmd.exe!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ff653afceae UE4Editor-Cmd.exe!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ff653afede2 UE4Editor-Cmd.exe!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffdf3107bd4 KERNEL32.DLL!UnknownFunction ]
PackagingResults: Error: [Callstack] 0x00007ffdf390ce51 ntdll.dll!UnknownFunction ]
PackagingResults: Error: end: stack for UAT

Not sure whats causing this.
Any help would be much appreciated…

same problem here in unreal 5.2 and 5.3 …any luck solving this ?

same here.

I am also unable to cook with the same error.
Can anyone guess where the cause is?

I can’t find the cause with the information in the error message.
I removed all splines from my main map and it didn’t help. I use a large number of splines and it is difficult to check them all.
I am on 5.5.4.

void FSplineCurves::UpdateSpline(bool bClosedLoop, bool bStationaryEndpoints, int32 ReparamStepsPerSegment, bool bLoopPositionOverride, float LoopPosition, const FVector& Scale3D)
{
	const int32 NumPoints = Position.Points.Num();
	check(Rotation.Points.Num() == NumPoints && Scale.Points.Num() == NumPoints); // ASSERT is HERE!!!
}

UpdateSpline is called every now and then (e.g. ClosedLoop change, Serialization and etc.).
But I don’t know, I haven’t touched any UE C++ code at all…

I found a level that crashes with the same Assert when the level is opened in the editor. There was no information about this level in the cooklog.
At first I opened all the levels individually and deleted all the crashing ones. By deleting those levels, I was able to cook. However, those levels could not be recovered.
I don’t know why the splines were broken, they were broken on multiple levels, so it could be triggered by editing blueprints used in common… .orz