Duplicates UE-9474
Changing a Media Player asset from Stream Mode: FromURL to From Memory crashes the editor.
In 4.8, the editor crashes immediately upon changing that value, with no crash report.
In 4.6 and 4.7 Preview, the editor only crashes upon reopening the project and attempting to open the Media Player asset that had been changed. 4.6.1 does not provide a crash report. 4.7 resulted in the following crash report:
[Link Removed]
Call Stack:
UE4Editor_Core! FText::FText() + 19 bytes text.cpp:251 UE4Editor_CoreUObject! LoadPackageInternal() + 2555 bytes uobjectglobals.cpp:959 UE4Editor_CoreUObject! StaticLoadObject() + 913 bytes uobjectglobals.cpp:724 UE4Editor_ContentBrowser! ContentBrowserUtils::LoadAssetsIfNeeded() + 962 bytes contentbrowserutils.cpp:341 UE4Editor_ContentBrowser! SAssetView::CanOpenContextMenu() + 505 bytes sassetview.cpp:3093 UE4Editor_ContentBrowser! SAssetView::OnGetContextMenuContent() + 42 bytes sassetview.cpp:3010 UE4Editor_ContentBrowser! TMemberFunctionCaller<SAssetView,TSharedPtr<SWidget,0> (__cdecl SAssetView::*)(void) __ptr64>::operator()<>() + 51 bytes delegateinstanceinterface_variadics.h:161 UE4Editor_ContentBrowser! TTupleImpl<TIntegerSequence<> >::ApplyAfter_ExplicitReturnType<TSharedPtr<SWidget,0>,TMemberFunctionCaller<SAssetView,TSharedPtr<SWidget,0> (__cdecl SAssetView::*)(void) __ptr64> >() + 25 bytes tuple.h:113 UE4Editor_ContentBrowser! TBaseSPMethodDelegateInstance<0,SAssetView,0,TSharedPtr<SWidget,0> __cdecl(void)>::Execute() + 89 bytes delegateinstancesimpl_variadics.inl:283 UE4Editor_Slate! TBaseDelegate<TSharedPtr<SWidget,0> >::Execute() + 26 bytes delegatesignatureimpl_variadics.inl:439 UE4Editor_Slate! STableViewBase::OnRightMouseButtonUp() + 110 bytes stableviewbase.cpp:673 UE4Editor_ContentBrowser! SListView<TSharedPtr<FAssetViewItem,0> >::Private_OnItemRightClicked() + 42 bytes slistview.h:678 UE4Editor_ContentBrowser! STableRow<TSharedPtr<FAssetViewItem,0> >::OnMouseButtonUp() + 1460 bytes stablerow.h:458 UE4Editor_Slate! <lambda_13af6b42409306e44b4e7065f2966a1b>::operator()() + 389 bytes slateapplication.cpp:4030 UE4Editor_Slate! FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_13af6b42409306e44b4e7065f2966a1b> >() + 189 bytes slateapplication.cpp:208 UE4Editor_Slate! FSlateApplication::ProcessMouseButtonUpEvent() + 1088 bytes slateapplication.cpp:4033 UE4Editor_Slate! FSlateApplication::OnMouseUp() + 278 bytes slateapplication.cpp:3954 UE4Editor_Core! FWindowsApplication::ProcessDeferredMessage() + 3485 bytes windowsapplication.cpp:1385 UE4Editor_Core! FWindowsApplication::DeferMessage() + 299 bytes windowsapplication.cpp:1669 UE4Editor_Core! FWindowsApplication::ProcessMessage() + 3966 bytes windowsapplication.cpp:742 UE4Editor_Core! FWindowsApplication::AppWndProc() + 98 bytes windowsapplication.cpp:604 user32! UserCallWinProcCheckWow() + 429 bytes user32! DispatchMessageWorker() + 949 bytes UE4Editor_Core! FWindowsPlatformMisc::PumpMessages() + 118 bytes windowsplatformmisc.cpp:774 UE4Editor! FEngineLoop::Tick() + 3641 bytes launchengineloop.cpp:2216 UE4Editor! GuardedMain() + 479 bytes launch.cpp:131 UE4Editor! GuardedMainWrapper() + 26 bytes launchwindows.cpp:126 UE4Editor! WinMain() + 249 bytes launchwindows.cpp:202 UE4Editor! __tmainCRTStartup() + 329 bytes crtexe.c:618
1. Open any project
2. Import the attached .wmv file
3. Open the Media Player asset
4. Under Source, change the Stream Mode from FromURL to From Memory
5. Save and close the project
6. Reopen the project
7. Open the Media Player asset
Result:
Crash. Note: in 4.8, the editor will crash as soon as you switch between FromURL and From Memory. In 4.6 and 4.7, the crash only occurs after reopening the Media Player asset.
Head over to the existing Questions & Answers thread and let us know what's up.