Steps to Reproduce

Download attached repro in UDN:

  1. Select BPP_PLA_Block03 in the Content Browser
  2. Delete the asset.
  3. In the Delete Assets popup (shown above) click on Replace References and select the asset BPP_PLA_Cube.
  4. The crash will happen immediately.
Callstack
check(GIsReinstancing || Value == nullptr || Value == LevelInstance);

>	UnrealEditor-Engine.dll!ULevelInstanceSubsystem::RegisterLevelInstance(ILevelInstanceInterface * LevelInstance) Line 170	C++
 	UnrealEditor-Engine.dll!FLevelInstanceActorImpl::RegisterLevelInstance() Line 28	C++
 	UnrealEditor-Engine.dll!AActor::IncrementalRegisterComponents(int NumComponentsToRegister, FRegisterComponentContext * Context) Line 5500	C++
 	UnrealEditor-Engine.dll!AActor::RegisterAllComponents() Line 5376	C++
 	UnrealEditor-Engine.dll!AActor::PostSpawnInitialize(const UE::Math::TTransform<double> & UserSpawnTransform, AActor * InOwner, APawn * InInstigator, bool bRemoteOwned, bool bNoFail, bool bDeferConstruction, ESpawnActorScaleMethod TransformScaleMethod) Line 3796	C++
 	UnrealEditor-Engine.dll!UWorld::SpawnActor(UClass * Class, const UE::Math::TTransform<double> * UserTransformPtr, const FActorSpawnParameters & SpawnParameters) Line 730	C++
 	UnrealEditor-Engine.dll!UWorld::SpawnActor(UClass * Class, const UE::Math::TVector<double> * Location, const UE::Math::TRotator<double> * Rotation, const FActorSpawnParameters & SpawnParameters) Line 438	C++
 	UnrealEditor-UnrealEd.dll!ReplaceActorHelper(AActor * OldActor, UClass * OldClass, UObject * & NewUObject, UClass * NewClass, TMap<UObject *,UObject *,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<UObject *,UObject *,0>> & OldToNewInstanceMap, const TMap<UClass *,UClass *,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<UClass *,UClass *,0>> & InOldToNewClassMap, TMap<FSoftObjectPath,UObject *,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<FSoftObjectPath,UObject *,0>> & ReinstancedObjectsWeakReferenceMap, TMap<UObject *,FActorAttachmentData,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<UObject *,FActorAttachmentData,0>> & ActorAttachmentData, TArray<FActorReplacementHelper,TSizedDefaultAllocator<32>> & ReplacementActors, bool bPreserveRootComponent, bool & bSelectionChanged) Line 2334	C++
 	UnrealEditor-UnrealEd.dll!FBlueprintCompileReinstancer::ReplaceInstancesOfClass_Inner(const TMap<UClass *,UClass *,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<UClass *,UClass *,0>> & InOldToNewClassMap, const FReplaceInstancesOfClassParameters & Params) Line 2725	C++
 	UnrealEditor-UnrealEd.dll!FBlueprintCompileReinstancer::ReplaceInstancesOfClass(UClass * OldClass, UClass * NewClass, const FReplaceInstancesOfClassParameters & Params) Line 1805	C++
 	UnrealEditor-UnrealEd.dll!ObjectTools::ConsolidateObjects(TArrayView<ObjectTools::FReplaceRequest,int> Requests, TSet<UObject *,DefaultKeyFuncs<UObject *,0>,FDefaultSetAllocator> & ObjectsToConsolidateWithin, TSet<UObject *,DefaultKeyFuncs<UObject *,0>,FDefaultSetAllocator> & ObjectsToNotConsolidateWithin, bool bShouldDeleteAfterConsolidate, bool bWarnAboutRootSet) Line 1724	C++
 	UnrealEditor-UnrealEd.dll!ObjectTools::ConsolidateObjects(UObject * ObjectToConsolidateTo, TArray<UObject *,TSizedDefaultAllocator<32>> & ObjectsToConsolidate, TSet<UObject *,DefaultKeyFuncs<UObject *,0>,FDefaultSetAllocator> & ObjectsToConsolidateWithin, TSet<UObject *,DefaultKeyFuncs<UObject *,0>,FDefaultSetAllocator> & ObjectsToNotConsolidateWithin, bool bShouldDeleteAfterConsolidate, bool bWarnAboutRootSet) Line 1944	C++
 	UnrealEditor-UnrealEd.dll!ObjectTools::ConsolidateObjects(UObject * ObjectToConsolidateTo, TArray<UObject *,TSizedDefaultAllocator<32>> & ObjectsToConsolidate, bool bShowDeleteConfirmation) Line 1964	C++
 	UnrealEditor-UnrealEd.dll!FAssetDeleteModel::DoReplaceReferences(const FAssetData & ReplaceReferencesWith) Line 408	C++
 	UnrealEditor-UnrealEd.dll!SDeleteAssetsDialog::ReplaceReferences() Line 765	C++
 	[Inline Frame] UnrealEditor-UnrealEd.dll!Invoke(FReply(SDeleteAssetsDialog::*)()) Line 66	C++
 	[Inline Frame] UnrealEditor-UnrealEd.dll!UE::Core::Private::Tuple::TTupleBase<TIntegerSequence<unsigned int>>::ApplyAfter(FReply(SDeleteAssetsDialog::*)() &) Line 309	C++
 	UnrealEditor-UnrealEd.dll!TBaseSPMethodDelegateInstance<0,SDeleteAssetsDialog,1,FReply __cdecl(void),FDefaultDelegateUserPolicy>::Execute() Line 281	C++
 	UnrealEditor-Slate.dll!TDelegate<FReply __cdecl(void),FDefaultDelegateUserPolicy>::Execute() Line 549	C++
 	UnrealEditor-Slate.dll!SButton::ExecuteOnClick() Line 465	C++
 	UnrealEditor-Slate.dll!SButton::OnMouseButtonUp(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) Line 390	C++
 	[Inline Frame] UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent::__l8::<lambda_2>::operator()(const FArrangedWidget &) Line 5290	C++
 	UnrealEditor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,`FSlateApplication::RoutePointerUpEvent'::`8'::<lambda_2>>(FSlateApplication * ThisApplication, FEventRouter::FToLeafmostPolicy RoutingPolicy, FPointerEvent EventCopy, const FSlateApplication::RoutePointerUpEvent::__l8::<lambda_2> & Lambda, ESlateDebuggingInputEvent DebuggingInputEvent) Line 442	C++
 	UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent(const FWidgetPath & WidgetsUnderPointer, const FPointerEvent & PointerEvent) Line 5276	C++
 	UnrealEditor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent(const FPointerEvent & MouseEvent) Line 5845	C++
 	UnrealEditor-Slate.dll!FSlateApplication::OnMouseUp(const EMouseButtons::Type Button, const UE::Math::TVector2<double> CursorPos) Line 5810	C++
 	UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage(const FDeferredWindowsMessage & DeferredMessage) Line 2236	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 2743	C++
 	UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessMessage(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 1912	C++
 	[Inline Frame] UnrealEditor-ApplicationCore.dll!WindowsApplication_WndProc(HWND__ *) Line 923	C++
 	UnrealEditor-ApplicationCore.dll!FWindowsApplication::AppWndProc(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 929	C++
 	user32.dll!UserCallWinProcCheckWow()	Unknown
 	user32.dll!DispatchMessageWorker()	Unknown
 	UnrealEditor-ApplicationCore.dll!FWindowsApplication::PumpMessages(const float TimeDelta) Line 2755	C++
 	UnrealEditor-Slate.dll!FSlateApplication::TickPlatform(float DeltaTime) Line 1587	C++
 	UnrealEditor-Slate.dll!FSlateApplication::AddModalWindow(TSharedRef<SWindow,1> InSlateWindow, const TSharedPtr<SWidget const ,1> InParentWidget, bool bSlowTaskWindow) Line 2122	C++
 	UnrealEditor-UnrealEd.dll!UEditorEngine::EditorAddModalWindow(TSharedRef<SWindow,1> InModalWindow) Line 4239	C++
 	UnrealEditor-UnrealEd.dll!ObjectTools::DeleteObjects(const TArray<UObject *,TSizedDefaultAllocator<32>> & InObjectsToDelete, bool bShowConfirmation, ObjectTools::EAllowCancelDuringDelete AllowCancelDuringDelete) Line 2901	C++
 	UnrealEditor-UnrealEd.dll!ObjectTools::DeleteAssets(const TArray<FAssetData,TSizedDefaultAllocator<32>> & AssetsToDelete, bool bShowConfirmation) Line 2657	C++
 	UnrealEditor-ContentBrowserAssetDataSource.dll!ContentBrowserAssetData::DeleteItems(IAssetTools * InAssetTools, IAssetRegistry * InAssetRegistry, const UContentBrowserDataSource * InOwnerDataSource, TArrayView<FContentBrowserItemData const ,int> InItems) Line 845	C++
 	UnrealEditor-ContentBrowserAssetDataSource.dll!UContentBrowserAssetDataSource::BulkDeleteItems(TArrayView<FContentBrowserItemData const ,int> InItems) Line 2319	C++
 	UnrealEditor-ContentBrowser.dll!FAssetContextMenu::ExecuteDelete() Line 994	C++
 	UnrealEditor-ContentBrowser.dll!SContentBrowser::HandleDeleteCommandExecute() Line 3449	C++
 	[Inline Frame] UnrealEditor-ContentBrowser.dll!Invoke(void(SContentBrowser::*)()) Line 66	C++
 	[Inline Frame] UnrealEditor-ContentBrowser.dll!UE::Core::Private::Tuple::TTupleBase<TIntegerSequence<unsigned int>>::ApplyAfter(void(SContentBrowser::*)() &) Line 309	C++
 	UnrealEditor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SContentBrowser,1,void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe() Line 298	C++
 	UnrealEditor-Slate.dll!TDelegate<void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfBound<void,0>() Line 570	C++
 	[Inline Frame] UnrealEditor-Slate.dll!FUIAction::Execute() Line 139	C++
 	UnrealEditor-Slate.dll!FUICommandList::ExecuteAction(const TSharedRef<FUICommandInfo const ,1> InUICommandInfo) Line 117	C++
 	UnrealEditor-Slate.dll!SMenuEntryBlock::OnClicked(bool bCheckBoxClicked) Line 1158	C++
 	UnrealEditor-Slate.dll!SMenuEntryBlock::OnMenuItemButtonClicked() Line 1118	C++
 	[Inline Frame] UnrealEditor-Slate.dll!Invoke(FReply(SMenuEntryBlock::*)()) Line 66	C++
 	[Inline Frame] UnrealEditor-Slate.dll!UE::Core::Private::Tuple::TTupleBase<TIntegerSequence<unsigned int>>::ApplyAfter(FReply(SMenuEntryBlock::*)() &) Line 309	C++
 	UnrealEditor-Slate.dll!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,1,FReply __cdecl(void),FDefaultDelegateUserPolicy>::Execute() Line 281	C++
 	UnrealEditor-Slate.dll!TDelegate<FReply __cdecl(void),FDefaultDelegateUserPolicy>::Execute() Line 549	C++
 	UnrealEditor-Slate.dll!SButton::ExecuteOnClick() Line 465	C++
 	UnrealEditor-Slate.dll!SButton::OnMouseButtonUp(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) Line 390	C++
 	UnrealEditor-Slate.dll!SMenuEntryButton::OnMouseButtonUp(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) Line 434	C++
 	[Inline Frame] UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent::__l8::<lambda_2>::operator()(const FArrangedWidget &) Line 5290	C++
 	UnrealEditor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,`FSlateApplication::RoutePointerUpEvent'::`8'::<lambda_2>>(FSlateApplication * ThisApplication, FEventRouter::FToLeafmostPolicy RoutingPolicy, FPointerEvent EventCopy, const FSlateApplication::RoutePointerUpEvent::__l8::<lambda_2> & Lambda, ESlateDebuggingInputEvent DebuggingInputEvent) Line 442	C++
 	UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent(const FWidgetPath & WidgetsUnderPointer, const FPointerEvent & PointerEvent) Line 5276	C++
 	UnrealEditor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent(const FPointerEvent & MouseEvent) Line 5845	C++
 	UnrealEditor-Slate.dll!FSlateApplication::OnMouseUp(const EMouseButtons::Type Button, const UE::Math::TVector2<double> CursorPos) Line 5810	C++
 	UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage(const FDeferredWindowsMessage & DeferredMessage) Line 2236	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 2743	C++
 	UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessMessage(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 1912	C++
 	[Inline Frame] UnrealEditor-ApplicationCore.dll!WindowsApplication_WndProc(HWND__ *) Line 923	C++
 	UnrealEditor-ApplicationCore.dll!FWindowsApplication::AppWndProc(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 929	C++
 	user32.dll!UserCallWinProcCheckWow()	Unknown
 	user32.dll!DispatchMessageWorker()	Unknown
 	[Inline Frame] UnrealEditor-ApplicationCore.dll!WinPumpMessages() Line 116	C++
 	UnrealEditor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages(bool bFromMainLoop) Line 145	C++
 	UnrealEditor.exe!FEngineLoop::Tick() Line 5753	C++
 	[Inline Frame] UnrealEditor.exe!EngineTick() Line 61	C++
 	UnrealEditor.exe!GuardedMain(const wchar_t * CmdLine) Line 180	C++
 	UnrealEditor.exe!LaunchWindowsStartup(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow, const wchar_t * CmdLine) Line 247	C++
 	UnrealEditor.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * pCmdLine, int nCmdShow) Line 298	C++
 	[Inline Frame] UnrealEditor.exe!invoke_main() Line 102	C++
 	UnrealEditor.exe!__scrt_common_main_seh() Line 288	C++
 	kernel32.dll!BaseThreadInitThunk()	Unknown
 	ntdll.dll!RtlUserThreadStart()	Unknown

Have Comments or More Details?

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

0
Login to Vote

Cannot Reproduce
CreatedFeb 6, 2024
ResolvedSep 12, 2024
UpdatedSep 16, 2024
View Jira Issue