본문 바로가기
UnrealEngine

[UE] 포커스가 없을 때, 소리 재생

by 공작사 2023. 8. 5.

게임을 실행하고 플레이 할 때, 게임에 포커싱이 되어있지 않으면 음소거 처리된다.

(프로젝터에 쏘려고 레졸룸 등을 사용하거나, VR기기를 사용할 때 등등..)

 

해결 방법은 다음 두 줄을,

[Audio]
UnfocusedVolumeMultiplier=1.0

해당 프로젝트 DefaultEngine.ini에 써넣는다.

[ProjectPath]/Config/DeFaultEngine.ini

후에 다시 패키징하여 사용한다.

 

끝.

참고

Audio is muted when game doesn't have focus (=when it's not the foreground app) :: Raw Data General Discussion

 

Audio is muted when game doesn't have focus (=when it's not the foreground app) :: Raw Data General Discussion

Love the game! Just one request: please override Unreal Engine's default behavior which causes Unreal to mute the audio when the game loses focus. This is really annoying for two reasons: 1. When bringing other programs (e.g. SteamVR, Windows audio setting

steamcommunity.com

 

댓글