Description

Rapidly changing the End Time on an asset that has TotalSamples=0.0 in the WaveFormEditor cases the editor to crash. Work around is to reimport the asset, which will restore that value. The crash hit can differ slightly depending on if you set the Start Time to a non-zero value first (will cause the following assert):

Assertion failed: LastEditedSample > FirstEditedSample [File:D:\SMoyls_UE5_Release-5.1\Engine\Plugins\Editor\WaveformEditor\Source\WaveformTransformationsWidgets\Private\WaveformTransformationsRenderManager.cpp] [Line: 112]

If Start Time is unchanged, sometimes this is hit instead

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x000005576e60ffe0
Steps to Reproduce

1) Launch AudioQA
2) In the Content Browser, go to Content > Assets > SoundWaves > Stereo > TestTones
3) Right click on the asset noise_burst_stereo_10ms_at_100ms_alternating_-6dB_3s (this is an old asset that has TotalSamples=0.0) and select Edit Waveform
4) In the Transformations window, add a Wave Transformation Trim Fade
5) Click on the End Time and scrub the value

Expected Result:
Editor remains stable

Actual Result:
Editor crashes

Callstack
UnrealEditor_WaveformTransformationsWidgets!FWaveformTransformationsRenderManager::GenerateRenderDataInternal() [D:\SMoyls_UE5_Release-5.1\Engine\Plugins\Editor\WaveformEditor\Source\WaveformTransformationsWidgets\Private\WaveformTransformationsRenderManager.cpp:112]
UnrealEditor_WaveformEditor!FWaveformEditor::NotifyPostChange() [D:\SMoyls_UE5_Release-5.1\Engine\Plugins\Editor\WaveformEditor\Source\WaveformEditor\Private\WaveformEditor.cpp:476]
UnrealEditor_PropertyEditor!FPropertyNode::NotifyPostChange() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Editor\PropertyEditor\Private\PropertyNode.cpp:2711]
UnrealEditor_PropertyEditor!FPropertyValueImpl::ImportText() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:457]
UnrealEditor_PropertyEditor!FPropertyValueImpl::ImportText() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:225]
UnrealEditor_PropertyEditor!FPropertyValueImpl::ImportText() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:132]
UnrealEditor_PropertyEditor!FPropertyHandleDouble::SetValue() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:3604]
UnrealEditor_PropertyEditor!SPropertyEditorNumeric<double>::OnValueChanged() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Editor\PropertyEditor\Private\UserInterface\PropertyEditor\SPropertyEditorNumeric.h:567]
UnrealEditor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyEditorNumeric<double>,1,void __cdecl(double),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:312]
UnrealEditor_PropertyEditor!SSpinBox<double>::CommitValue() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Slate\Public\Widgets\Input\SSpinBox.h:1040]
UnrealEditor_PropertyEditor!SSpinBox<double>::OnMouseMove() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Slate\Public\Widgets\Input\SSpinBox.h:654]
UnrealEditor_Slate!<lambda_34f2f82751ae4e835da90c9a4b680622>::operator()() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5338]
UnrealEditor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_34f2f82751ae4e835da90c9a4b680622> >() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:412]
UnrealEditor_Slate!FSlateApplication::RoutePointerMoveEvent() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5346]
UnrealEditor_Slate!FSlateApplication::ProcessMouseMoveEvent() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5853]
UnrealEditor_Slate!FSlateApplication::OnRawMouseMove() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5810]
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2239]
UnrealEditor_ApplicationCore!FWindowsApplication::DeferMessage() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2726]
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessMessage() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1246]
UnrealEditor_ApplicationCore!FWindowsApplication::AppWndProc() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:925]
user32
user32
UnrealEditor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:142]
UnrealEditor!FEngineLoop::Tick() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5291]
UnrealEditor!GuardedMain() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Launch\Private\Launch.cpp:202]
UnrealEditor!GuardedMainWrapper() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:107]
UnrealEditor!LaunchWindowsStartup() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:244]
UnrealEditor!WinMain() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:282]
UnrealEditor!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll
VCRUNTIME140
UnrealEditor_WaveformTransformationsWidgets!FWaveformTransformationsRenderManager::GenerateRenderDataInternal() [D:\SMoyls_UE5_Release-5.1\Engine\Plugins\Editor\WaveformEditor\Source\WaveformTransformationsWidgets\Private\WaveformTransformationsRenderManager.cpp:117]
UnrealEditor_WaveformEditor!FWaveformEditor::NotifyPostChange() [D:\SMoyls_UE5_Release-5.1\Engine\Plugins\Editor\WaveformEditor\Source\WaveformEditor\Private\WaveformEditor.cpp:476]
UnrealEditor_PropertyEditor!FPropertyNode::NotifyPostChange() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Editor\PropertyEditor\Private\PropertyNode.cpp:2711]
UnrealEditor_PropertyEditor!FPropertyValueImpl::ImportText() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:457]
UnrealEditor_PropertyEditor!FPropertyValueImpl::ImportText() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:225]
UnrealEditor_PropertyEditor!FPropertyValueImpl::ImportText() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:132]
UnrealEditor_PropertyEditor!FPropertyHandleDouble::SetValue() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:3604]
UnrealEditor_PropertyEditor!SPropertyEditorNumeric<double>::OnValueChanged() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Editor\PropertyEditor\Private\UserInterface\PropertyEditor\SPropertyEditorNumeric.h:567]
UnrealEditor_PropertyEditor!TBaseSPMethodDelegateInstance<0,SPropertyEditorNumeric<double>,1,void __cdecl(double),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:312]
UnrealEditor_PropertyEditor!SSpinBox<double>::CommitValue() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Slate\Public\Widgets\Input\SSpinBox.h:1040]
UnrealEditor_PropertyEditor!SSpinBox<double>::OnMouseMove() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Slate\Public\Widgets\Input\SSpinBox.h:654]
UnrealEditor_Slate!<lambda_34f2f82751ae4e835da90c9a4b680622>::operator()() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5338]
UnrealEditor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_34f2f82751ae4e835da90c9a4b680622> >() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:412]
UnrealEditor_Slate!FSlateApplication::RoutePointerMoveEvent() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5346]
UnrealEditor_Slate!FSlateApplication::ProcessMouseMoveEvent() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5853]
UnrealEditor_Slate!FSlateApplication::OnRawMouseMove() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5810]
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2239]
UnrealEditor_ApplicationCore!FWindowsApplication::DeferMessage() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2726]
UnrealEditor_ApplicationCore!FWindowsApplication::ProcessMessage() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1246]
UnrealEditor_ApplicationCore!FWindowsApplication::AppWndProc() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:925]
user32
user32
UnrealEditor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:142]
UnrealEditor!FEngineLoop::Tick() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5291]
UnrealEditor!GuardedMain() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Launch\Private\Launch.cpp:202]
UnrealEditor!GuardedMainWrapper() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:107]
UnrealEditor!LaunchWindowsStartup() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:244]
UnrealEditor!WinMain() [D:\SMoyls_UE5_Release-5.1\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:282]
UnrealEditor!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
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-169742 in the post.

0
Login to Vote

Fixed
ComponentUE - Audio - WaveformEditor Plugin
Affects Versions5.1
Target Fix5.1.1
Fix Commit23589489
Main Commit23589489
Release Commit23588626
CreatedNov 10, 2022
ResolvedJan 5, 2023
UpdatedFeb 4, 2023