Packaging crash because of spline components

Hi,

When I try to package my project, or when I cook my project for windows I’ve got this error multiple times:

PackagingResults: Error: end: stack for UAT
PackagingResults: Error: begin: stack for UAT
PackagingResults: Error: === Handled ensure: ===
PackagingResults: Error: Ensure condition failed: Position.Points[Index - 1].InVal < Position.Points[Index].InVal [File:D:\Build\++UE4+Release-4.19+Compile\Sync\Engine\Source\Runtime\Engine\Private\Components\SplineComponent.cpp] [Line: 145]
PackagingResults: Error: Stack:
PackagingResults: Error: [Callstack] 0x0000000097E3B706 UE4Editor-Core.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x0000000097B9AE3A UE4Editor-Core.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x0000000097BAECD6 UE4Editor-Core.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00000000787BF9B8 UE4Editor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00000000787BFDC2 UE4Editor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00000000787775CF UE4Editor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x000000007860AA06 UE4Editor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00000000781EEFDD UE4Editor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x000000007822D21A UE4Editor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x0000000078AD1E23 UE4Editor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00000000794B5347 UE4Editor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x000000008EB458BD UE4Editor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x000000008E9EEEEB UE4Editor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x000000008E9F022D UE4Editor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x000000008E9FBC59 UE4Editor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x000000008E8AA580 UE4Editor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x000000008E8D1CB0 UE4Editor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x000000005C4DEB20 UE4Editor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x000000005C4D69FA UE4Editor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x000000005C4D6C4A UE4Editor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x000000005C4E4177 UE4Editor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x000000005C4E4FBF UE4Editor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00000000C7A41FE4 KERNEL32.DLL!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00000000C7D6CB31 ntdll.dll!UnknownFunction []

From what I understand the problem is here :

  • Position.Points[Index - 1].InVal < Position.Points[Index].InVal

  • Whithin SplineComponent.cpp] [Line: 145]

So what exactly is broken in my spline components and how can I fix this ?

Can Somebody help?

Thanks

I’m now understanding that inVal is the position ratio on the spline and the points need to have increasing inVal within the array.

So there is a bug in the Unreal Engine that create wrong spline that break the cooking.
I think that it happen when we add point within the editor and that we have a construction script that interact with it.

Plus when splines are broken I must now figure how to fix it. Does someone have a hint ?

I still have the problem on the 4.21…

Does someone have an idea on how to find the wrong splines ?

Thanks

Hi,

Did you ever found a solution ?
Thx.

Same problem here. I am clearing, creating, adding spline points in the construction script of a blueprint character as a spline component.
Using 4.22.1 here.

LogOutputDevice: Error: [Callstack] 0x00007fffded8a271 ntdll.dll!UnknownFunction []
LogStats:             FDebug::EnsureFailed -  0.011 s
LogOutputDevice: Warning: Script Stack (0 frames):
LogStats: FPlatformStackWalk::StackWalkAndDump -  0.001 s
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: Position.Points[Index - 1].InVal < Position.Points[Index].InVal [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\Components\SplineComponent.cpp] [Line: 145]
LogOutputDevice: Error: Stack: 
LogOutputDevice: Error: [Callstack] 0x00007fff75b70fb0 UE4Editor-Engine.dll!UnknownFunction []

Some things I tried:

Does it mean we can’t do component spline operation in BP constructor?

Same problem here. I am clearing, creating, adding spline points in the construction script of a blueprint character as a spline component.
Using 4.22.1 here.

LogOutputDevice: Error: [Callstack] 0x00007fffded8a271 ntdll.dll!UnknownFunction []
LogStats:             FDebug::EnsureFailed -  0.011 s
LogOutputDevice: Warning: Script Stack (0 frames):
LogStats: FPlatformStackWalk::StackWalkAndDump -  0.001 s
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: Position.Points[Index - 1].InVal < Position.Points[Index].InVal [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\Components\SplineComponent.cpp] [Line: 145]
LogOutputDevice: Error: Stack: 
LogOutputDevice: Error: [Callstack] 0x00007fff75b70fb0 UE4Editor-Engine.dll!UnknownFunction []

Some things I tried:

Does it mean we can’t do component spline operation in BP constructor?

I have same Problem Here
have a spline
OnConstruction() added a point
while its playing in viewport, if I move a point in editor, I get lots of red errors in OutPut Log window.