Description

After attempting to preview the undefined File Media Source in the Media Player Window and getting an error. I set the path of the File Media Source to Windows sample video 'Wilflife'. Then attempt to preview the File Media Source again in the Media Player window.
The editor crashes immediately.

Assertion failed: (Seconds >= MinValue().GetTotalSeconds()) && (Seconds <= MaxValue().GetTotalSeconds()) [File:D:\Dev-Sequencer\Engine\Source\Runtime\Core\Private\Misc\Timespan.cpp] [Line: 136]

Worked in: 4.15.1 - 3328138

Steps to Reproduce
  1. Open UE4Editor.exe and create a new Third Person Blueprint Project
  2. Create a Media Player
    • Leave Audio and Video Output checkboxes blank
  3. Create File Media Source
  4. Open the Media Player
    1. Double-click on the 'NewFileMediaSource' reference found under the Player Preview Window (You will get an error toast)
      LogMediaAssets:Error: Failed to validate media source NewFileMediaSource (file://D:/Dev-Sequencer/Engine/Binaries/Win64/)
  5. Open the File Media Source
    1. Set File Path Libraries>Videos>Sample Videos>Wildlife.wmv
  6. Go back to the Media Player Window
  7. Double-click on the 'NewFileMediaSource' reference found under the Player Preview Window

Result: Editor crashes
Expected Result: Editor does not crash

Callstack
UE4Editor_Core!FDebug::AssertFailed() [d:\dev-sequencer\engine\source\runtime\core\private\misc\assertionmacros.cpp:349]
UE4Editor_Core!FTimespan::FromSeconds() [d:\dev-sequencer\engine\source\runtime\core\private\misc\timespan.cpp:138]
UE4Editor_MediaUtils!FMediaAudioSink::GetFrames() [d:\dev-sequencer\engine\source\runtime\mediautils\private\mediaaudiosink.cpp:46]
UE4Editor_MediaAssets!UMediaSoundWave::GeneratePCMData() [d:\dev-sequencer\engine\source\runtime\mediaassets\private\assets\mediasoundwave.cpp:72]
UE4Editor_XAudio2!FXAudio2SoundSource::SubmitPCMRTBuffers() [d:\dev-sequencer\engine\source\runtime\windows\xaudio2\private\xaudio2source.cpp:258]
UE4Editor_XAudio2!FXAudio2SoundSource::Init() [d:\dev-sequencer\engine\source\runtime\windows\xaudio2\private\xaudio2source.cpp:575]
UE4Editor_Engine!FAudioDevice::StartSources() [d:\dev-sequencer\engine\source\runtime\engine\private\audiodevice.cpp:2937]
UE4Editor_Engine!FAudioDevice::Update() [d:\dev-sequencer\engine\source\runtime\engine\private\audiodevice.cpp:3124]
UE4Editor_Engine!FAudioDeviceManager::UpdateActiveAudioDevices() [d:\dev-sequencer\engine\source\runtime\engine\private\audiodevicemanager.cpp:280]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\dev-sequencer\engine\source\editor\unrealed\private\editorengine.cpp:1849]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\dev-sequencer\engine\source\editor\unrealed\private\unrealedengine.cpp:391]
UE4Editor!FEngineLoop::Tick() [d:\dev-sequencer\engine\source\runtime\launch\private\launchengineloop.cpp:3059]
UE4Editor!GuardedMain() [d:\dev-sequencer\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor!GuardedMainWrapper() [d:\dev-sequencer\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor!WinMain() [d:\dev-sequencer\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
kernel32
ntdll

Have Comments or More Details?

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

1
Login to Vote

Non-Issue
ComponentMedia Framework
Affects Versions4.16
Target Fix4.17
CreatedMar 2, 2017
ResolvedJun 6, 2017
UpdatedApr 27, 2018
View Jira Issue