Developer Notes

This issue has been closed as 'Won't Fix' due to an extended period of time without updates. If this issue is important to you please let us know by posting on the AnswerHub or UDN, and Epic will re-open the ticket for further review.

Description

An ensure is being triggered when you set simulate physics on a child actor on the server and then force net update.

Found in 4.14.2 CL# 3241561. Reproduced in 4.16 Main CL#3247538

Steps to Reproduce
  1. Open the attached project
  2. PIE
  3. Wait ~10-15 seconds
  4. Check the output log

Result: Ensure occurs

LogOutputDevice:Error: Ensure condition failed: !bRegistered || GetAttachParent()->GetAttachChildren().Contains(this) [Link Removed] [Line: 1954]
LogOutputDevice:Error: Attempt to detach SceneComponent 'Cube' owned by 'ChildActor_GEN_VARIABLE_AttachChild_C_CAT_32' from AttachParent 'DefaultSceneRoot' while not attached.

Callstack
LogOutputDevice:Error: === Handled ensure: ===
LogOutputDevice:Error: Ensure condition failed: !bRegistered || GetAttachParent()->GetAttachChildren().Contains(this) [File:D:\Sean.Flint_Z5610_StreamMain\Engine\Source\Runtime\Engine\Private\Components\SceneComponent.cpp] [Line: 1954]
LogOutputDevice:Error: Attempt to detach SceneComponent 'Cube' owned by 'ChildActor_GEN_VARIABLE_AttachChild_C_CAT_32' from AttachParent 'DefaultSceneRoot' while not attached.
LogOutputDevice:Error: Stack: 
LogOutputDevice:Error: UE4Editor-Core.dll!FWindowsPlatformStackWalk::StackWalkAndDump() [d:\sean.flint_z5610_streammain\engine\source\runtime\core\private\windows\windowsplatformstackwalk.cpp:200]
LogOutputDevice:Error: UE4Editor-Core.dll!FDebug::EnsureFailed() [d:\sean.flint_z5610_streammain\engine\source\runtime\core\private\misc\assertionmacros.cpp:233]
LogOutputDevice:Error: UE4Editor-Core.dll!FDebug::OptionallyLogFormattedEnsureMessageReturningFalse() [d:\sean.flint_z5610_streammain\engine\source\runtime\core\private\misc\assertionmacros.cpp:360]
LogOutputDevice:Error: UE4Editor-Engine.dll!USceneComponent::DetachFromComponent() [d:\sean.flint_z5610_streammain\engine\source\runtime\engine\private\components\scenecomponent.cpp:1954]
LogOutputDevice:Error: UE4Editor-Engine.dll!USceneComponent::AttachToComponent() [d:\sean.flint_z5610_streammain\engine\source\runtime\engine\private\components\scenecomponent.cpp:1726]
LogOutputDevice:Error: UE4Editor-Engine.dll!USceneComponent::PostRepNotifies() [d:\sean.flint_z5610_streammain\engine\source\runtime\engine\private\components\scenecomponent.cpp:2990]
LogOutputDevice:Error: UE4Editor-Engine.dll!FObjectReplicator::PostReceivedBunch() [d:\sean.flint_z5610_streammain\engine\source\runtime\engine\private\datareplication.cpp:965]
LogOutputDevice:Error: UE4Editor-Engine.dll!UActorChannel::ProcessBunch() [d:\sean.flint_z5610_streammain\engine\source\runtime\engine\private\datachannel.cpp:2198]
LogOutputDevice:Error: UE4Editor-Engine.dll!UActorChannel::ReceivedBunch() [d:\sean.flint_z5610_streammain\engine\source\runtime\engine\private\datachannel.cpp:2046]
LogOutputDevice:Error: UE4Editor-Engine.dll!UChannel::ReceivedSequencedBunch() [d:\sean.flint_z5610_streammain\engine\source\runtime\engine\private\datachannel.cpp:277]
LogOutputDevice:Error: UE4Editor-Engine.dll!UChannel::ReceivedNextBunch() [d:\sean.flint_z5610_streammain\engine\source\runtime\engine\private\datachannel.cpp:631]
LogOutputDevice:Error: UE4Editor-Engine.dll!UChannel::ReceivedRawBunch() [d:\sean.flint_z5610_streammain\engine\source\runtime\engine\private\datachannel.cpp:361]
LogOutputDevice:Error: UE4Editor-Engine.dll!UNetConnection::ReceivedPacket() [d:\sean.flint_z5610_streammain\engine\source\runtime\engine\private\netconnection.cpp:1195]
LogOutputDevice:Error: UE4Editor-Engine.dll!UNetConnection::ReceivedRawPacket() [d:\sean.flint_z5610_streammain\engine\source\runtime\engine\private\netconnection.cpp:626]
LogOutputDevice:Error: UE4Editor-OnlineSubsystemUtils.dll!UIpNetDriver::TickDispatch() [d:\sean.flint_z5610_streammain\engine\plugins\online\onlinesubsystemutils\source\onlinesubsystemutils\private\ipnetdriver.cpp:227]
LogOutputDevice:Error: UE4Editor-Engine.dll!TBaseUObjectMethodDelegateInstance<0,UNetDriver,void __cdecl(float)>::ExecuteIfSafe() [d:\sean.flint_z5610_streammain\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:858]
LogOutputDevice:Error: UE4Editor-Engine.dll!TBaseMulticastDelegate<void,float>::Broadcast() [d:\sean.flint_z5610_streammain\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:937]
LogOutputDevice:Error: UE4Editor-Engine.dll!UWorld::Tick() [d:\sean.flint_z5610_streammain\engine\source\runtime\engine\private\leveltick.cpp:1257]
LogOutputDevice:Error: UE4Editor-UnrealEd.dll!UEditorEngine::Tick() [d:\sean.flint_z5610_streammain\engine\source\editor\unrealed\private\editorengine.cpp:1630]
LogOutputDevice:Error: UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick() [d:\sean.flint_z5610_streammain\engine\source\editor\unrealed\private\unrealedengine.cpp:391]
LogOutputDevice:Error: UE4Editor.exe!FEngineLoop::Tick() [d:\sean.flint_z5610_streammain\engine\source\runtime\launch\private\launchengineloop.cpp:3019]
LogOutputDevice:Error: UE4Editor.exe!GuardedMain() [d:\sean.flint_z5610_streammain\engine\source\runtime\launch\private\launch.cpp:166]
LogOutputDevice:Error: UE4Editor.exe!GuardedMainWrapper() [d:\sean.flint_z5610_streammain\engine\source\runtime\launch\private\windows\launchwindows.cpp:130]
LogOutputDevice:Error: UE4Editor.exe!WinMain() [d:\sean.flint_z5610_streammain\engine\source\runtime\launch\private\windows\launchwindows.cpp:206]
LogOutputDevice:Error: UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
LogOutputDevice:Error: KERNEL32.DLL!0x00000000A3818102
LogOutputDevice:Error: ntdll.dll!0x00000000A609C574

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

23
Login to Vote

Fixed
ComponentNetworking
Affects Versions4.13.24.144.15
Target Fix4.22
Fix Commit4708102
CreatedJan 5, 2017
ResolvedJan 11, 2019
UpdatedJan 18, 2019