Description

In Tick processing of LevelSequencActors of World Tick, If you destroy an actor with an actor's ticks, delete it immediately from the LevelSequencActor array. I think that the problem occurred because the Array size of the Tick loop changed.
[Link Removed]

 

Steps to Reproduce

1 Create level sequencer blueprint and spawn to level
2 Add destroy actor on Tick
[Link Removed]
3 Ensure condition failed when play this level

 

Callstack

LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: Lhs.CurrentNum == Lhs.InitialNum [Link Removed] [Line: 207]
LogOutputDevice: Error: Array has changed during ranged-for iteration!
LogOutputDevice: Error: Stack:
LogOutputDevice: Error: [Callstack] 0x00007fff82b83a49 UE4Editor-Engine.dll!DispatchCheckVerify<bool,<lambda_b8973cb0fd208267bf4872e16bef08a9> >() [d:\yutaro\p4\release-4.23\engine\source\runtime\core\public\misc\assertionmacros.h:164]
LogOutputDevice: Error: [Callstack] 0x00007fff813f9527 UE4Editor-Engine.dll!UWorld::Tick() [d:\yutaro\p4\release-4.23\engine\source\runtime\engine\private\leveltick.cpp:1497]
LogOutputDevice: Error: [Callstack] 0x00007fff7fefe00b UE4Editor-UnrealEd.dll!UEditorEngine::Tick() [d:\yutaro\p4\release-4.23\engine\source\editor\unrealed\private\editorengine.cpp:1638]
LogOutputDevice: Error: [Callstack] 0x00007fff80754b16 UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick() [d:\yutaro\p4\release-4.23\engine\source\editor\unrealed\private\unrealedengine.cpp:407]
LogOutputDevice: Error: [Callstack] 0x00007ff66efb7b0a UE4Editor.exe!FEngineLoop::Tick() [d:\yutaro\p4\release-4.23\engine\source\runtime\launch\private\launchengineloop.cpp:4257]
LogOutputDevice: Error: [Callstack] 0x00007ff66efca91c UE4Editor.exe!GuardedMain() [d:\yutaro\p4\release-4.23\engine\source\runtime\launch\private\launch.cpp:173]
LogOutputDevice: Error: [Callstack] 0x00007ff66efca9fa UE4Editor.exe!GuardedMainWrapper() [d:\yutaro\p4\release-4.23\engine\source\runtime\launch\private\windows\launchwindows.cpp:147]
LogOutputDevice: Error: [Callstack] 0x00007ff66efdb92c UE4Editor.exe!WinMain() [d:\yutaro\p4\release-4.23\engine\source\runtime\launch\private\windows\launchwindows.cpp:279]
LogOutputDevice: Error: [Callstack] 0x00007ff66efde60e UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
LogOutputDevice: Error: [Callstack] 0x00007ffff09b7974 KERNEL32.DLL!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffff2e2a271 ntdll.dll!UnknownFunction []

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-82047 in the post.

0
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions4.23
Target Fix4.24
Fix Commit9793708
Main Commit9793747
Release Commit9793708
CreatedOct 18, 2019
ResolvedOct 24, 2019
UpdatedJan 25, 2021