Dragging a BP actor containing a child actor component of an actor class with a static mesh as its root component into the scene viewport will cause artifacts and hit SceneData.AttachmentCounter.GetValue() == 0 in UPrimitiveComponent::FinishDestroy.
Assertion failed: SceneData.AttachmentCounter.GetValue() == 0 [\Engine\Source\Runtime\Engine\Private\Components\PrimitiveComponent.cpp] [Line: 1612] > UnrealEditor-Engine.dll!UPrimitiveComponent::FinishDestroy() Line 1612 C++ UnrealEditor-CoreUObject.dll!UObject::ConditionalFinishDestroy() Line 1238 C++ UnrealEditor-CoreUObject.dll!IncrementalDestroyGarbage(bool bUseTimeLimit, double TimeLimit) Line 4584 C++ UnrealEditor-CoreUObject.dll!IncrementalPurgeGarbage(bool bUseTimeLimit, double TimeLimit) Line 4471 C++ UnrealEditor-CoreUObject.dll!UE::GC::PostCollectGarbageImpl<1>(EObjectFlags KeepFlags) Line 5492 C++ UnrealEditor-CoreUObject.dll!UE::GC::FReachabilityAnalysisState::PerformReachabilityAnalysisAndConditionallyPurgeGarbage(bool bReachabilityUsingTimeLimit) Line 5678 C++ [Inline Frame] UnrealEditor-CoreUObject.dll!UE::GC::CollectGarbageInternal(EObjectFlags) Line 5235 C++ UnrealEditor-CoreUObject.dll!CollectGarbage(EObjectFlags KeepFlags, bool bPerformFullPurge) Line 5914 C++ UnrealEditor-UnrealEd.dll!UUnrealEdEngine::DeleteActors(const TArray<AActor *,TSizedDefaultAllocator<32>> & InActorsToDelete, UWorld * InWorld, UTypedElementSelectionSet * InSelectionSet, const bool bVerifyDeletionCanHappen, const bool bWarnAboutReferences, const bool bWarnAboutSoftReferences) Line 1217 C++ UnrealEditor-UnrealEd.dll!UActorElementEditorWorldInterface::DeleteElements(TArrayView<FTypedElementHandle const ,int> InElementHandles, UWorld * InWorld, UTypedElementSelectionSet * InSelectionSet, const FTypedElementDeletionOptions & InDeletionOptions) Line 84 C++ UnrealEditor-UnrealEd.dll!ITypedElementWorldInterface::DeleteElement(const FTypedElementHandle & InElementHandle, UWorld * InWorld, UTypedElementSelectionSet * InSelectionSet, const FTypedElementDeletionOptions & InDeletionOptions) Line 208 C++ [Inline Frame] UnrealEditor-UnrealEd.dll!TTypedElement<ITypedElementWorldInterface>::DeleteElement(UWorld *) Line 490 C++ UnrealEditor-UnrealEd.dll!FLevelEditorViewportClient::DestroyDropPreviewElements::__l2::<lambda_2>::operator()(const TTypedElement<ITypedElementWorldInterface> & InElement) Line 1717 C++ [Inline Frame] UnrealEditor-UnrealEd.dll!UE::Core::Private::Function::TFunctionRefBase<UE::Core::Private::Function::FFunctionRefStoragePolicy,bool __cdecl(TTypedElement<ITypedElementWorldInterface> const &)>::operator()(const TTypedElement<ITypedElementWorldInterface> &) Line 470 C++ UnrealEditor-UnrealEd.dll!TTypedElementList<FTypedElementHandle>::ForEachElement<ITypedElementWorldInterface>(TFunctionRef<bool __cdecl(TTypedElement<ITypedElementWorldInterface> const &)> InCallback) Line 288 C++ UnrealEditor-UnrealEd.dll!FLevelEditorViewportClient::DestroyDropPreviewElements() Line 1735 C++ UnrealEditor-LevelEditor.dll!SLevelViewport::HandlePlaceDraggedObjects(const FGeometry & MyGeometry, const FDragDropEvent & DragDropEvent, bool bCreateDropPreview) Line 1071 C++ UnrealEditor-LevelEditor.dll!SLevelViewport::OnDrop(const FGeometry & MyGeometry, const FDragDropEvent & DragDropEvent) Line 1161 C++ UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent::__l10::<lambda_3>::operator()(const FArrangedWidget & CurWidget, const FPointerEvent & Event) Line 5373 C++ UnrealEditor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,`FSlateApplication::RoutePointerUpEvent'::`10'::<lambda_3>>(FSlateApplication * ThisApplication, FEventRouter::FBubblePolicy RoutingPolicy, FPointerEvent EventCopy, const FSlateApplication::RoutePointerUpEvent::__l10::<lambda_3> & Lambda, ESlateDebuggingInputEvent DebuggingInputEvent) Line 448 C++ UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent(const FWidgetPath & WidgetsUnderPointer, const FPointerEvent & PointerEvent) Line 5368 C++ UnrealEditor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent(const FPointerEvent & MouseEvent) Line 5895 C++ UnrealEditor-Slate.dll!FSlateApplication::OnMouseUp(const EMouseButtons::Type Button, const UE::Math::TVector2<double> CursorPos) Line 5851 C++ UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage(const FDeferredWindowsMessage & DeferredMessage) Line 2253 C++ UnrealEditor-ApplicationCore.dll!FWindowsApplication::DeferMessage(TSharedPtr<FWindowsWindow,1> & NativeWindow, HWND__ * InHWnd, unsigned int InMessage, unsigned __int64 InWParam, __int64 InLParam, int MouseX, int MouseY, unsigned int RawInputFlags) Line 2765 C++ UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessMessage(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 1926 C++ [Inline Frame] UnrealEditor-ApplicationCore.dll!WindowsApplication_WndProc(HWND__ *) Line 930 C++ UnrealEditor-ApplicationCore.dll!FWindowsApplication::AppWndProc(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 936 C++
How do I set a material as a post-processing material?
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
How to delete some elements correctly when deleting an array loop?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-221432 in the post.
0 |
Component | UE - Gameplay - Components |
---|---|
Target Fix | 5.6 |
Created | Aug 8, 2024 |
---|---|
Updated | Aug 19, 2024 |