Sorry for bad clarification. Yes you are correct.
Sound playing in correct location but you cannot hear it sometimes in correct location.
The code is part of UGameplayStatics::SpawnSoundAttached
You can repoduce this error with steps;
- Spawn PlayerController/Character at location something big like 50000x50000x50000
- Try play sound via SpawnSoundAttached and attach to Mesh of Character with KeepRelativeOffset
And you cannot hear the sound.