๐ŸŽฎ Unity Study/ERROR Q&A

[Unity Error] Sound ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” Android ์•ฑ์ด ์•ˆ์ผœ์ง€๋Š” ์—๋Ÿฌ

ibelieveinme 2023. 11. 29. 18:14
728x90

Unity Android ์•ฑ ์ค‘์— Sound ๊ฐ€ ์‹คํ–‰์ด ์•ˆ๋˜๋ฉฐ ํ™”๋ฉด๋„ ์•ˆ๋‚˜์˜ค๋Š” ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

๋กœ๊ทธ์—” Wifi, casting ๋“ฑ ์—๋Ÿฌ๊ฐ€ ๋‚˜์˜ค๋Š”๋ฐ ์ด ๋ฌธ์ œ๊ฐ€ ์•„๋‹ˆ๊ณ  Audio ๊ฐ€ ๊ฒน์ณ์„œ ์ƒ๊ฒผ๋˜ ์˜ค๋ฅ˜ ๊ฐ™๋‹ค.

 

Unity Player Settings > Other Settings > Mute Other Audio Sources ๋ฅผ ์ฒดํฌ(true)ํ•ด์ค˜์„œ ํ•ด๊ฒฐํ–ˆ๋‹ค.

 

 

์†์„ฑ์— ๋Œ€ํ•œ ์ž์„ธํ•œ ์„ค๋ช…์€ ์•„๋ž˜ Document ์ฐธ๊ณ !

 

https://docs.unity3d.com/ScriptReference/PlayerSettings-muteOtherAudioSources.html

 

Unity - Scripting API: PlayerSettings.muteOtherAudioSources

This setting is shared between iOS and Android platforms. Set this to true and your Unity application stops audio from other applications in the background, set to false and audio from background applications continues to play alongside your Unity applicat

docs.unity3d.com

 

728x90