Description

This is a common crash that has occurred since at least 4.15.

The callstack is similar to UE-42649, which was resolved in 4.16.

User Descriptions

  • disable sound concurrency

Source Context

 537       		// If 0, that means we're in override mode (i.e. concurrency is limited per-sound instance, not per-group)
  538       		if (ConcurrencyObjectID == 0)
  539       		{
  540       			// Get the sounds unique ID
  541       			const FSoundObjectID SoundObjectID = ActiveSound->GetSound()->GetUniqueID();
  542       
  543       			// If we're limiting to owner, we need to clean up the per-owner record keeping
  544 ***** 			if (ConcurrencySettings->bLimitToOwner && OwnerObjectID != 0)
  545       			{
  546       				FSoundInstanceEntry* OwnerPerSoundEntry = OwnerPerSoundConcurrencyMap.Find(OwnerObjectID);
  547       				OwnerPerSoundEntry->SoundInstanceToConcurrencyGroup.Remove(SoundObjectID);
  548       
  549       				if (!OwnerPerSoundEntry->SoundInstanceToConcurrencyGroup.Num())
  550       				{
  551       					OwnerPerSoundConcurrencyMap.Remove(OwnerObjectID);
  552       				}
  553       			}
Steps to Reproduce

repro steps currently unknown

Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_Engine!FSoundConcurrencyManager::RemoveActiveSound() [soundconcurrency.cpp:545]
UE4Editor_Engine!FAudioDevice::RemoveActiveSound() [audiodevice.cpp:3583]
UE4Editor_Engine!FAudioDevice::ProcessingPendingActiveSoundStops() [audiodevice.cpp:3496]
UE4Editor_Engine!FAudioDevice::Update() [audiodevice.cpp:3171]
UE4Editor_Engine!FAudioDeviceManager::UpdateActiveAudioDevices() [audiodevicemanager.cpp:291]
UE4Editor_UnrealEd!UEditorEngine::Tick() [editorengine.cpp:1875]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [unrealedengine.cpp:402]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3215]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-50832 in the post.

0
Login to Vote

Fixed
ComponentAudio
Affects Versions4.154.164.17
Target Fix4.18
Fix Commit3682730
Release Commit3682730
CreatedOct 5, 2017
ResolvedOct 5, 2017
UpdatedApr 27, 2018