Description

Crash when destroying two components in a specific order in this user's project.

The crash occurs under two circumstances inside the LogActor Blueprint: either DestroyLogPart is called for both TempHalflog and TempLogActor (in that order) and it crashes instantly, or if you only perform DestroyLogPart on the TempHalfLog it crashes on leaving PIE.

Sorry, this user's blueprints are a mess but I couldn't reproduce the issue in a new project.

Reproduced in 4.9.2 binary and Main (CL 270970)

Steps to Reproduce

1. Open the attached project
2. PIE with Players set to 2
3. On the Server, approach the fallen log
4. While facing the log, press F to line trace to the log

Result:
After a successful line trace hit, the editor crashes

Callstack

UE4Editor_Engine!USceneComponent::OnComponentDestroyed() scenecomponent.cpp:664
UE4Editor_Engine!UActorComponent::DestroyComponent() actorcomponent.cpp:944
UE4Editor_Engine!UActorChannel::ReadContentBlockHeader() datachannel.cpp:2551
UE4Editor_Engine!UActorChannel::ProcessBunch() datachannel.cpp:1967
UE4Editor_Engine!UActorChannel::ReceivedBunch() datachannel.cpp:1897
UE4Editor_Engine!UChannel::ReceivedSequencedBunch() datachannel.cpp:270
UE4Editor_Engine!UChannel::ReceivedNextBunch() datachannel.cpp:614
UE4Editor_Engine!UChannel::ReceivedRawBunch() datachannel.cpp:354
UE4Editor_Engine!UNetConnection::ReceivedPacket() netconnection.cpp:1044
UE4Editor_Engine!UNetConnection::ReceivedRawPacket() netconnection.cpp:495
UE4Editor_OnlineSubsystemUtils!UIpNetDriver::TickDispatch() ipnetdriver.cpp:174
UE4Editor_Engine!TBaseUObjectMethodDelegateInstance<0,UNetDriver,void __cdecl() delegateinstancesimpl_variadics.inl:772
UE4Editor_Engine!TBaseMulticastDelegate<void,float>::Broadcast() delegatesignatureimpl_variadics.inl:809
UE4Editor_Engine!UWorld::Tick() leveltick.cpp:1062
UE4Editor_UnrealEd!UEditorEngine::Tick() editorengine.cpp:1347
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() unrealedengine.cpp:366
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2428
UE4Editor!GuardedMain() launch.cpp:142
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126
UE4Editor!WinMain() launchwindows.cpp:200

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Cannot Reproduce
ComponentUE - Gameplay - Blueprint
Affects Versions4.9.24.11
Target Fix4.11
Fix Commit2827072
Main Commit2839850
CreatedOct 6, 2015
ResolvedJan 13, 2016
UpdatedApr 27, 2018