Description

Comment from user:

  • double clicked on a media player asset that I just cloned
  880       	/**
  881       	 * Get the current play list.
  882       	 *
  883       	 * @return The play list.
  884       	 * @see GetPlaylistIndex, GetPlaylist
  885       	 */
  886       	UMediaPlaylist& GetPlaylistRef() const
  887       	{
  888       		check(Playlist != nullptr);
  889 ***** 		return *Playlist;
  890       	}
Steps to Reproduce

1) Create a media player in content browser
2) Right click and duplicate the media player in the content browser
3) Double left click to open the duplicated media player
Crash

Callstack
Assertion failed: Playlist != nullptr [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\MediaAssets\Public\MediaPlayer.h] [Line: 889]

UE4Editor_MediaAssets!UMediaPlayer::GetPlaylistRef() [mediaplayer.h:890]
UE4Editor_MediaPlayerEditor!SMediaPlayerEditorPlaylist::ReloadMediaSourceList() [smediaplayereditorplaylist.cpp:249]
UE4Editor_MediaPlayerEditor!SMediaPlayerEditorPlaylist::Construct() [smediaplayereditorplaylist.cpp:239]
UE4Editor_MediaPlayerEditor!FMediaPlayerEditorToolkit::HandleTabManagerSpawnTab() [mediaplayereditortoolkit.cpp:421]
UE4Editor_MediaPlayerEditor!TBaseSPMethodDelegateInstance<0,FMediaPlayerEditorToolkit,0,TSharedRef<SDockTab,0> __cdecl() [delegateinstancesimpl.h:269]
UE4Editor_Slate!FTabManager::SpawnTab() [tabmanager.cpp:1414]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [tabmanager.cpp:1273]
UE4Editor_Slate!FTabManager::RestoreSplitterContent() [tabmanager.cpp:1388]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [tabmanager.cpp:1366]
UE4Editor_Slate!FTabManager::RestoreSplitterContent() [tabmanager.cpp:1388]
UE4Editor_Slate!FTabManager::RestoreArea_Helper() [tabmanager.cpp:1357]
UE4Editor_Slate!FTabManager::RestoreArea() [tabmanager.cpp:1249]
UE4Editor_Slate!FTabManager::RestoreFrom() [tabmanager.cpp:808]
UE4Editor_UnrealEd!SStandaloneAssetEditorToolkitHost::RestoreFromLayout() [sstandaloneasseteditortoolkithost.cpp:126]
UE4Editor_UnrealEd!SStandaloneAssetEditorToolkitHost::SetupInitialContent() [sstandaloneasseteditortoolkithost.cpp:112]
UE4Editor_UnrealEd!FAssetEditorToolkit::InitAssetEditor() [asseteditortoolkit.cpp:261]
UE4Editor_UnrealEd!FAssetEditorToolkit::InitAssetEditor() [asseteditortoolkit.cpp:53]
UE4Editor_MediaPlayerEditor!FMediaPlayerEditorToolkit::Initialize() [mediaplayereditortoolkit.cpp:147]
UE4Editor_MediaPlayerEditor!FMediaPlayerActions::OpenAssetEditor() [mediaplayeractions.cpp:72]
UE4Editor_UnrealEd!FAssetEditorManager::OpenEditorForAsset() [asseteditormanager.cpp:377]
UE4Editor_MediaPlayerEditor!FAssetTypeActions_Base::AssetsActivated() [assettypeactions_base.h:57]
UE4Editor_ContentBrowser!SContentBrowser::OnAssetsActivated() [scontentbrowser.cpp:2085]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,void __cdecl() [delegateinstancesimpl.h:345]
UE4Editor_ContentBrowser!SAssetView::OnListMouseButtonDoubleClick() [sassetview.cpp:4046]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,void __cdecl() [delegateinstancesimpl.h:345]
UE4Editor_ContentBrowser!TBaseDelegate<void,TSharedPtr<FAssetViewItem,0> >::ExecuteIfBound() [delegatesignatureimpl.inl:624]
UE4Editor_ContentBrowser!SListView<TSharedPtr<FAssetViewItem,0> >::Private_OnItemDoubleClicked() [slistview.h:815]
UE4Editor_ContentBrowser!STableRow<TSharedPtr<FAssetViewItem,0> >::OnMouseButtonDoubleClick() [stablerow.h:310]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_eeb33fd1b480e3cad58a1531d90d2e14> >() [slateapplication.cpp:268]
UE4Editor_Slate!FSlateApplication::RoutePointerDoubleClickEvent() [slateapplication.cpp:5922]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonDoubleClickEvent() [slateapplication.cpp:5909]
UE4Editor_Slate!FSlateApplication::OnMouseDoubleClick() [slateapplication.cpp:5885]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1740]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2182]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:895]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [windowsapplication.cpp:732]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3417]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:144]
UE4Editor!WinMain() [launchwindows.cpp:223]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:283]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-61968 in the post.

0
Login to Vote

Fixed
ComponentMedia Framework
Affects Versions4.20
Target Fix4.21
Fix Commit4513035
Main Commit4551290
Release Commit4513035
CreatedJul 19, 2018
ResolvedOct 26, 2018
UpdatedNov 8, 2018