Hi again! sorry to re-open this but we have an issue, the cl fix well the looping issue but we now have a build crash that can occure randomly and it seem pretty close of the fix here is the stack :
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 758]
Array index out of bounds: -1 into an array of size 1
0x00007ff60af572c6 Ego.exe!FAnimMontageInstance::Advance() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\Animation\AnimMontage.cpp:2562]
0x00007ff60af9d6e9 Ego.exe!UAnimInstance::Montage_Advance() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\Animation\AnimInstance.cpp:1865]
0x00007ff60afc435a Ego.exe!UAnimInstance::UpdateMontage() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\Animation\AnimInstance.cpp:433]
0x00007ff60afc0693 Ego.exe!UAnimInstance::UpdateAnimation() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\Animation\AnimInstance.cpp:577]
0x00007ff60b53f19f Ego.exe!USkeletalMeshComponent::TickAnimation() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\Components\SkeletalMeshComponent.cpp:1418]
0x00007ff60b5406b6 Ego.exe!USkeletalMeshComponent::TickPose() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\Components\SkeletalMeshComponent.cpp:1612]
0x00007ff60b5402f8 Ego.exe!USkinnedMeshComponent::TickComponent() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\Components\SkinnedMeshComponent.cpp:1417]
0x00007ff60b53fe75 Ego.exe!USkeletalMeshComponent::TickComponent() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\Components\SkeletalMeshComponent.cpp:1717]
0x00007ff610a22ca4 Ego.exe!USkeletalMeshComponentBudgeted::TickComponent() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Plugins\Runtime\AnimationBudgetAllocator\Source\AnimationBudgetAllocator\Private\SkeletalMeshComponentBudgeted.cpp:134]
0x00007ff60b2a34e7 Ego.exe!FActorComponentTickFunction::ExecuteTickHelper<`FActorComponentTickFunction::ExecuteTick’::`2’::<lambda_1> >() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Classes\GameFramework\Actor.h:4576]
0x00007ff60b38fdd4 Ego.exe!FActorComponentTickFunction::ExecuteTick() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp:1174]
0x00007ff60c5e3f6f Ego.exe!FTickFunctionTask::DoTask() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:276]
0x00007ff60c602d86 Ego.exe!TGraphTask<FTickFunctionTask>::ExecuteTask() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:1238]
0x00007ff60547adca Ego.exe!FNamedTaskThread::ProcessTasksNamedThread() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:760]
0x00007ff60547b39e Ego.exe!FNamedTaskThread::ProcessTasksUntilQuit() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:651]
0x00007ff605485de3 Ego.exe!FTaskGraphCompatibilityImplementation::WaitUntilTasksComplete() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:2122]
0x00007ff60c65d705 Ego.exe!FTickTaskSequencer::ReleaseTickGroup() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:556]
0x00007ff60c66c0c2 Ego.exe!FTickTaskManager::RunTickGroup() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:1583]
0x00007ff60ba9aeee Ego.exe!UWorld::RunTickGroup() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:772]
0x00007ff60baa6f1a Ego.exe!UWorld::Tick() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1528]
0x00007ff60b7f9cd9 Ego.exe!UGameEngine::Tick() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Engine\Private\GameEngine.cpp:1785]
0x00007ff60ce5a188 Ego.exe!FEngineLoop::Tick() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5921]
0x00007ff60ce7246c Ego.exe!GuardedMain() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Launch\Private\Launch.cpp:180]
0x00007ff60ce7253a Ego.exe!GuardedMainWrapper() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
0x00007ff60ce75105 Ego.exe!LaunchWindowsStartup() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
0x00007ff60ce85464 Ego.exe!WinMain() [R:\DXUnrealEngineGit54\DXUnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:299]
0x00007ff6128f59b6 Ego.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
0x00007ff900b2e8d7 KERNEL32.DLL!UnknownFunction
here in the anim montage Advance methode : [Image Removed]It seems that the CurrentSectionIndex is higher than the array num, we will try to add security but we dont really know if it can cause an issue on animation, but if you have cl or any stuff with changes for that part we will be verry grateful!
thanks again and have a nice day