Search Unity

Audio Unity Audio Volume different on Android build.

Discussion in 'Audio & Video' started by RuleksGames, Nov 30, 2022.

  1. RuleksGames

    RuleksGames

    Joined:
    Apr 21, 2020
    Posts:
    21
    I've the following problem. When i test the game in the editor the sound is as expected but when i test it on build the volume settings are not respected. All audio sources play at volume 1. Ive some at 1 some at 0.2 and so on but all audio sources play equally at 1 on build.

    I change the audiosource volume through script ..... .volume = 1;


    Any idea what happen ?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,060
    Which unity version?
    This definitely shouldn't happen.

    Also:
    Any errors if you check logcat?
    Can you log the audiosource.volume properties and check what they return on your phone?