Description

The Finish Recording Output node from the Audio Mixer BP Library crashes due to an invalid Path input. This is a regression from 4.23.1 (CL-9631420). 

This was reported and tested in 4.24.3 (CL-11590370). This was reproduced in 4.25 Preview 3 (CL-12192346) and Main 4.26 (CL-12367904).

Steps to Reproduce
  1. Open the UE4 Editor and create a Blank project
  2. Open the Level Blueprint
  3. In the BeginPlay event of the Level Blueprint, use the Start Recording Output, a delay node, and a Finish Recording Output
  4. For the Finish Recording Output, set the Export Type to Sound Wave, the Name to TestWav, do not pass an input to Submix to Record, and use the output from Get Project Directory as the input to Path
  5. Launch a new PIE instance by clicking the Play button so that a PIE instance is either launched in the viewport or a new window

Results: The Editor crashes

Expected: If the input is invalid, the editor doesn't crash, but rather displays a warning message in the Output Log.

Callstack
[2020.03.23-18.20.28:549][413]LogWindows: Error: === Critical error: ===
[2020.03.23-18.20.28:549][413]LogWindows: Error:
[2020.03.23-18.20.28:549][413]LogWindows: Error: Assertion failed: bValidPackageName [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/SampleBufferIO.cpp] [Line: 276]
[2020.03.23-18.20.28:549][413]LogWindows: Error:
[2020.03.23-18.20.28:549][413]LogWindows: Error:
[2020.03.23-18.20.28:549][413]LogWindows: Error:
[2020.03.23-18.20.28:549][413]LogWindows: Error: [Callstack] 0x00007ff9f6baa859 KERNELBASE.dll!UnknownFunction []
[2020.03.23-18.20.28:549][413]LogWindows: Error: [Callstack] 0x00007ff9763ea7b6 UE4Editor-Core.dll!ReportAssert() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowsplatformcrashcontext.cpp:1341]
[2020.03.23-18.20.28:549][413]LogWindows: Error: [Callstack] 0x00007ff9763edc58 UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowserroroutputdevice.cpp:79]
[2020.03.23-18.20.28:549][413]LogWindows: Error: [Callstack] 0x00007ff9761a2c7d UE4Editor-Core.dll!FOutputDevice::LogfImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:71]
[2020.03.23-18.20.28:549][413]LogWindows: Error: [Callstack] 0x00007ff97612fd43 UE4Editor-Core.dll!AssertFailedImplV() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:105]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff9761320c0 UE4Editor-Core.dll!FDebug::CheckVerifyFailedImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:455]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff973fd6aaa UE4Editor-Engine.dll!Audio::FSoundWavePCMWriter::SynchronouslyWriteSoundWave() [d:\build\++ue4\sync\engine\source\runtime\engine\private\samplebufferio.cpp:276]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff96cc34ab9 UE4Editor-AudioMixer.dll!UAudioMixerBlueprintLibrary::StopRecordingOutput() [d:\build\++ue4\sync\engine\source\runtime\audiomixer\private\audiomixerblueprintlibrary.cpp:141]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff96cc3e615 UE4Editor-AudioMixer.dll!UAudioMixerBlueprintLibrary::execStopRecordingOutput() [d:\build\++ue4\sync\engine\source\runtime\audiomixer\public\audiomixerblueprintlibrary.h:82]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff97d864045 UE4Editor-CoreUObject.dll!UObject::execCallMathFunction() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:860]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff97d866516 UE4Editor-CoreUObject.dll!UObject::execLetObj() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:2613]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff97d840cd2 UE4Editor-CoreUObject.dll!ProcessLocalScriptFunction() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:997]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff97d840644 UE4Editor-CoreUObject.dll!UObject::ProcessInternal() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1081]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff97d5f42e8 UE4Editor-CoreUObject.dll!UFunction::Invoke() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:4907]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff97d840148 UE4Editor-CoreUObject.dll!UObject::ProcessEvent() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1912]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff9731d7f18 UE4Editor-Engine.dll!AActor::ProcessEvent() [d:\build\++ue4\sync\engine\source\runtime\engine\private\actor.cpp:795]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff973ab935f UE4Editor-Engine.dll!FLatentActionManager::TickLatentActionForObject() [d:\build\++ue4\sync\engine\source\runtime\engine\private\latentactionmanager.cpp:206]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff973a9ac20 UE4Editor-Engine.dll!FLatentActionManager::ProcessLatentActions() [d:\build\++ue4\sync\engine\source\runtime\engine\private\latentactionmanager.cpp:144]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff973ab63f1 UE4Editor-Engine.dll!UWorld::Tick() [d:\build\++ue4\sync\engine\source\runtime\engine\private\leveltick.cpp:1609]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff971c4ad60 UE4Editor-UnrealEd.dll!UEditorEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorengine.cpp:1683]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff9724ae476 UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:410]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff7b5937f62 UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:4485]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff7b594c3ec UE4Editor.exe!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:173]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff7b594c4ca UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff7b595ceae UE4Editor.exe!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:263]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff7b595fcbe UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff9f8bd7bd4 KERNEL32.DLL!UnknownFunction []
[2020.03.23-18.20.28:550][413]LogWindows: Error: [Callstack] 0x00007ff9f98eced1 ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Audio
Affects Versions4.24.34.254.26
Target Fix4.25
Fix Commit12513292
Main Commit14151001
Release Commit12513292
CreatedMar 23, 2020
ResolvedApr 2, 2020
UpdatedAug 20, 2020