Description

Crash when not saving level after using MovieRenderQueue for that level

Repro rate 3/3

Regression Yes, issue is not reproduced on //UE5/Release-5.0-EarlyAccess at CL 16682836 from Launcher

Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorServer.cpp] [Line: 2625] World Memory Leaks: 2 leaks objects and packages. See The output above. 
Steps to Reproduce

Requirements:

  • Project with the USDImporter and Movie Render Queue plugins enabled;

Repro:

  • Open the USD Stage Editor window by going to Window -> Virtual Production -> USD Stage;
  • On the USD Stage Editor window, pick File->Open and select the Nine_animation.usda file (it's inside [^Nine_animation.7z]).
  • Save the level and name it MyLevel;
  • Create a new ULevelSequence and name it Seq;
  • Open Seq;
  • Drag the UsdStageActor onto the left pane of the Sequencer to create a binding to it;
  • On the new binding, create the + button to add a Track, and pick the Time property on the menu that pops up;
  • Add a new key at the current frame for the Time track. Use 200 for the Time value for this key;
  • Move the scrubber to frame 60, and add a new key to the Time track. Use 300 for the Time value for this key.
  • Test that you see the character move when you scrub between frame 0 and 60;
  • Open MovieRenderQueue by going to Window -> Cinematics -> Movie Render Queue;
  • On the Movie Render Queue window click the +Render button to add a new item, and pick the newly created Seq level sequence;
  • On the Movie Render Queue window, with the newly created item selected, make sure that on the right pane the chosen Map is MyLevel;
  • Click File->New Level and open any other level (this is important);
  • Click Render (Local) on MovieRenderQueue to render the sequence.
  • After render, close MovieRenderQueue and open new level (when popup displays click no)
  • Then, open MyLevel and also click no when proposed to save level

Expected result: level opens

Actual result: crash

Callstack
Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorServer.cpp] [Line: 2625] World Memory Leaks: 2 leaks objects and packages. See The output above. 
UnrealEditor-UnrealEd!7ff8736c0000  + 54d407
UnrealEditor-UnrealEd!7ff8736c0000  + 53dfaf
UnrealEditor-UnrealEd!7ff8736c0000  + 530515
UnrealEditor-UnrealEd!7ff8736c0000  + e2c6ce
UnrealEditor-UnrealEd!7ff8736c0000  + 85cded
UnrealEditor-AssetTools!FAssetTypeActions_World::OpenAssetEditor(TArray<UObject *,TSizedDefaultAllocator<32> > const &,TSharedPtr<IToolkitHost,1>) [AssetTypeActions_World.cpp:43]
UnrealEditor-UnrealEd!7ff8736c0000  + d33e03
UnrealEditor-UnrealEd!7ff8736c0000  + d34679
UnrealEditor-UnrealEd!7ff8736c0000  + d3440a
UnrealEditor-ContentBrowserAssetDataSource!ContentBrowserAssetData::EditOrPreviewAssetFileItems(TArrayView<TSharedRef<FContentBrowserAssetFileItemDataPayload const ,1> const ,int>,bool) [ContentBrowserAssetDataCore.cpp:270]
UnrealEditor-ContentBrowserAssetDataSource!ContentBrowserAssetData::EditOrPreviewItems(IAssetTools *,UContentBrowserDataSource const *,TArrayView<FContentBrowserItemData const ,int>,bool) [ContentBrowserAssetDataCore.cpp:290]
UnrealEditor-ContentBrowserAssetDataSource!UContentBrowserAssetDataSource::BulkEditItems(TArrayView<FContentBrowserItemData const ,int>) [ContentBrowserAssetDataSource.cpp:1228]
UnrealEditor-ContentBrowser!SContentBrowser::OnItemsActivated(TArrayView<FContentBrowserItem const ,int>,EAssetTypeActivationMethod::Type) [SContentBrowser.cpp:2680]
UnrealEditor-ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,1,void ,FDefaultDelegateUserPolicy>::Execute(TArrayView<FContentBrowserItem const ,int>,EAssetTypeActivationMethod::Type) [DelegateInstancesImpl.h:290]
UnrealEditor-ContentBrowser!SAssetView::OnListMouseButtonDoubleClick(TSharedPtr<FAssetViewItem,1>) [SAssetView.cpp:3658]
UnrealEditor-ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,1,void ,FDefaultDelegateUserPolicy>::ExecuteIfSafe(TSharedPtr<FAssetViewItem,1>) [DelegateInstancesImpl.h:307]
UnrealEditor-ContentBrowser!TDelegate<void ,FDefaultDelegateUserPolicy>::ExecuteIfBound<void,0>(TSharedPtr<FAssetViewItem,1>) [DelegateSignatureImpl.inl:607]
UnrealEditor-ContentBrowser!SListView<TSharedPtr<FAssetViewItem,1> >::Private_OnItemDoubleClicked(TSharedPtr<FAssetViewItem,1>) [SListView.h:1087]
UnrealEditor-ContentBrowser!STableRow<TSharedPtr<FAssetViewItem,1> >::OnMouseButtonDoubleClick(FGeometry const &,FPointerEvent const &) [STableRow.h:398]
UnrealEditor-Slate!7ff88cdd0000  + 166e6
UnrealEditor-Slate!7ff88cdd0000  + 8f086
UnrealEditor-Slate!7ff88cdd0000  + 78a79
UnrealEditor-Slate!7ff88cdd0000  + 6d6c1
UnrealEditor-ApplicationCore!FWindowsApplication::ProcessDeferredMessage(FDeferredWindowsMessage const &) [WindowsApplication.cpp:2214]
UnrealEditor-ApplicationCore!FWindowsApplication::DeferMessage(TSharedPtr<FWindowsWindow,1> &,HWND__ *,unsigned int,unsigned __int64,__int64,int,int,unsigned int) [WindowsApplication.cpp:2699]
UnrealEditor-ApplicationCore!FWindowsApplication::ProcessMessage(HWND__ *,unsigned int,unsigned __int64,__int64) [WindowsApplication.cpp:1078]
UnrealEditor-ApplicationCore!FWindowsApplication::AppWndProc(HWND__ *,unsigned int,unsigned __int64,__int64) [WindowsApplication.cpp:916]
USER32!7ff90fe90000  + e858
USER32!7ff90fe90000  + e4ee
InkObj!7ff840a60000  + e7e19
atlthunk!7ff8cd5d0000  + 1028
USER32!7ff90fe90000  + e858
USER32!7ff90fe90000  + e299
UnrealEditor-ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages(bool) [WindowsPlatformApplicationMisc.cpp:138]
UnrealEditor!7ff717330000  + 7114
UnrealEditor!7ff717330000  + 20e2c
UnrealEditor!7ff717330000  + 20f1a
UnrealEditor!7ff717330000  + 23cdd
UnrealEditor!7ff717330000  + 355c4
UnrealEditor!7ff717330000  + 38766
KERNEL32!7ff90f010000  + 17034
ntdll!7ff910e70000  + 52651

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Editor - Content Pipeline - USD
Affects Versions5.0
Target Fix5.0.2
Fix Commit19908672
Main Commit19911586
Release Commit19908672
CreatedFeb 8, 2022
ResolvedApr 25, 2022
UpdatedJan 25, 2023
View Jira Issue