Need help on packaging my third person game, full of errors I dont understand

Its my first time packaging a game, being hit with these red walls of text that I have no idea how to fix TT please help

PackagingResults: Error: begin: stack for UAT
PackagingResults: Error: === Handled ensure: ===
PackagingResults: Error: Ensure condition failed: LUTIndex.IsValidIndex(PoseNames[PoseIndex].UID) [File:D:\build++UE5\Sync\Engine\Source\Runtime\AnimGraphRuntime\Private\AnimNodes\AnimNode_PoseDriver.cpp] [Line: 61]
PackagingResults: Error: Stack:
PackagingResults: Error: [Callstack] 0x00007fff76efa87a UnrealEditor-AnimGraphRuntime.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff76ed9ae5 UnrealEditor-AnimGraphRuntime.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff76ef61bf UnrealEditor-AnimGraphRuntime.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff76ef6119 UnrealEditor-AnimGraphRuntime.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9e10b30e UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9e08c6ee UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9e08c5fa UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9e08ab22 UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9e5f50db UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9e5f3b48 UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9e5fbc3f UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9e4e01f0 UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9e50e5ae UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9dedf855 UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9def09d0 UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9ebf1add UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9ebf1842 UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9fcdd0bc UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9fcdef6f UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9fce0ec1 UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff9fc69e39 UnrealEditor-Engine.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff7bf17743 UnrealEditor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff7bf4cb6e UnrealEditor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff7bf4d01c UnrealEditor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff7bf51234 UnrealEditor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff7bf618c7 UnrealEditor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff7bf611a5 UnrealEditor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff7bcbf780 UnrealEditor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007fff7bce16a3 UnrealEditor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ff691afb0ce UnrealEditor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ff691af2688 UnrealEditor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ff691af296a UnrealEditor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ff691af5680 UnrealEditor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ff691b071b4 UnrealEditor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ff691b096f2 UnrealEditor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffff4267614 KERNEL32.DLL!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffff54e26a1 ntdll.dll!UnknownFunction []
PackagingResults: Error: end: stack for UAT
PackagingResults: Error: Unknown Cook Failure

I suggest you try to package one of the template projects that the Unreal Engine team has created. If you succeeds doing so, its likely a file in your current project that makes your build fail. More specifically it seems like due to the fact that a certain “LUTIndex” value is not a valid index, it fails.

The specific line of code that triggered the error is shown as line 61 of the AnimNode_PoseDriver.cpp file.

So validate (go through and check) the animations files and animation for your game and try to build again.