Steps to Reproduce
  1. Create a new VR Template (any project with OpenXR plugin enabled will work)
  2. Create a Haptic Feedback Soundwave asset, and set it to use Fire01 Sound Wave (any mono Sound Wave will work)
  3. Set Fire01's Loading -> Loading Behavior Override to Force Inline (required for Haptic Feedback Soundwave)
  4. Create a Blueprint that calls Play Haptic Effect with the Haptic Feedback Soundwave asset you created on Begin Play with a 1s delay
  5. Simulate in-editor, PIE, or VR Preview

OR

Download attached repro project and Simulate in-editor, PIE, or VR Preview.

Results: Crash

Expected: Doesn't crash, and if in VR Preview it plays the haptic effect on the correct controller (defined by motion source set in the Play Haptic Effect).

Callstack

Assertion failed: ShouldUseRealtimeDecompression(bForceFullDecompression, SoundGroup, SoundWave, CompressedDurationThreshold) [Link Removed] [Line: 6808] 

 

UnrealEditor_Core!FDebug::CheckVerifyFailedImpl2() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:672]
UnrealEditor_Engine!FAudioDevice::Precache() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Engine\Private\AudioDevice.cpp:6808]
UnrealEditor_Engine!UHapticFeedbackEffect_SoundWave::PrepareSoundWaveBuffer() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Engine\Private\GameFramework\HapticFeedbackEffect.cpp:195]
UnrealEditor_Engine!UHapticFeedbackEffect_SoundWave::Initialize() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Engine\Private\GameFramework\HapticFeedbackEffect.cpp:156]
UnrealEditor_Engine!FActiveHapticFeedbackEffect::FActiveHapticFeedbackEffect() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Engine\Classes\Haptics\HapticFeedbackEffect_Base.h:48]
UnrealEditor_Engine!APlayerController::PlayHapticEffect() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Engine\Private\PlayerController.cpp:4500]
UnrealEditor_Engine!APlayerController::execPlayHapticEffect() [C:\VB_BigBox_UE5Main\Engine\Intermediate\Build\Win64\UnrealEditor\Inc\Engine\UHT\PlayerController.gen.cpp:6206]
UnrealEditor_CoreUObject!UFunction::Invoke() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:7399]
UnrealEditor_CoreUObject!UObject::CallFunction() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1148]
UnrealEditor_CoreUObject!UObject::ProcessContextOpcode() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:3118]
UnrealEditor_CoreUObject!ProcessLocalScriptFunction() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1215]
UnrealEditor_CoreUObject!UObject::ProcessInternal() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1337]
UnrealEditor_CoreUObject!UFunction::Invoke() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:7399]
UnrealEditor_CoreUObject!UObject::ProcessEvent() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2176]
UnrealEditor_Engine!AActor::ProcessEvent() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Engine\Private\Actor.cpp:1284]
UnrealEditor_Engine!FLatentActionManager::TickLatentActionForObject() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Engine\Private\LatentActionManager.cpp:319]
UnrealEditor_Engine!FLatentActionManager::ProcessLatentActions() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Engine\Private\LatentActionManager.cpp:237]
UnrealEditor_Engine!UWorld::Tick() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1545]
UnrealEditor_UnrealEd!UEditorEngine::Tick() [C:\VB_BigBox_UE5Main\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:2143]
UnrealEditor_UnrealEd!UUnrealEdEngine::Tick() [C:\VB_BigBox_UE5Main\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:551]
UnrealEditor!FEngineLoop::Tick() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5897]
UnrealEditor!GuardedMain() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Launch\Private\Launch.cpp:187]
UnrealEditor!GuardedMainWrapper() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:124]
UnrealEditor!LaunchWindowsStartup() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:278]
UnrealEditor!WinMain() [C:\VB_BigBox_UE5Main\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:335]
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-232114 in the post.

1
Login to Vote

Unresolved
ComponentUE - Audio
Affects Versions5.5
Target Fix5.6
CreatedDec 3, 2024
UpdatedDec 4, 2024
View Jira Issue