Description

Paper2D game using Blueprint Actor with Box Collision and Flipbook Component crashes frequently when loading levels in packaged Development Build.

 

Reported and tested in versions 4.25.3(CL 13942748), 4.24.3(CL 11590370), and 4.23.1(CL 9631420). Problem present in 4.25.3, not able to reproduce in 4.24.3 or 4.23.1.

Steps to Reproduce
  1. Open new Paper2D project
  2. Create Blueprint Actor with Box Collision and Flipbook Component; add source Flipbook
  3. Place about 20 of them in the 2DSideScrollerExampleMap
  4. Package Development Build
  5. Start the game and reload the level multiple times via console command

Result: Packaged game crashes with error message: 

Assertion Failed: ComponentsThatNeedEndOfFrameUpdate.IsValidIndex(ArrayIndex)

[FileD:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/Engine/Private/LevelTick.cpp][Line:863]

 

Expected: The game should not crash

Callstack

Assertion failed: ComponentsThatNeedEndOfFrameUpdate.IsValidIndex(ArrayIndex) [Link Removed] [Line: 863]

NennemanTheGame!FDebug::AssertFailed()
NennemanTheGame!FDebug::CheckVerifyFailedImpl()
NennemanTheGame!`operator<<'::`12'::Impl::ExecCheckImplInternal()
NennemanTheGame!UWorld::ClearActorComponentEndOfFrameUpdate()
NennemanTheGame!UActorComponent::ClearNeedEndOfFrameUpdate_Internal()
NennemanTheGame!UPrimitiveComponent::OnUnregister()
NennemanTheGame!UActorComponent::ExecuteUnregisterEvents()
NennemanTheGame!UActorComponent::UnregisterComponent()
NennemanTheGame!AActor::UnregisterAllComponents()
NennemanTheGame!ULevel::ClearLevelComponents()
NennemanTheGame!UWorld::CleanupWorldInternal()
NennemanTheGame!FMemory::Free()
NennemanTheGame!TValueOrError<TArray<FExpressionToken,TSizedDefaultAllocator<32> >,FExpressionError>::~TValueOrError<TArray<FExpressionToken,TSizedDefaultAllocator<32> >,FExpressionError>()
NennemanTheGame!FStringFormatter::FormatInternal()
NennemanTheGame!EqualsSameDimensions<1>()
NennemanTheGame!FNameHelper::MakeWithNumber()
NennemanTheGame!FMallocBinned2::Free()
NennemanTheGame!FMallocPoisonProxy::Free()
NennemanTheGame!FMemory::Free()
NennemanTheGame!FURL::FURL()
NennemanTheGame!UEngine::TickWorldTravel()
NennemanTheGame!FEngineLoop::Tick()

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-99498 in the post.

1
Login to Vote

Unresolved
ComponentGameplay - Paper2D
Affects Versions4.25.3
CreatedSep 11, 2020
UpdatedSep 11, 2020