Before updating to Windows 10 you may need to return your Pro license. More information here

U3 - Bundled Audio Asset VS WWW Audio Assets

Unity 3.2.0f4, Windows 7 64.

In my game, I have all Audio events played directly to my Main Game Camera. So, theoretically, all sounds/music/effects will be played at full Volume (1.0f).

When I get my game to use WWW web streaming to load an Audio File (OGG Music), the volume is perfect, 100%.

But, when I make a Bundle containing this Audio Asset, and load it from the asset bundle, the audio volume seems to have been cut in half.

When I was in Unity 2.6 and did this similarly, there was no audio volume cut. Is this something new?

(I build my Asset Bundles from a special menu that loads all the files, then builds bundles from there.)

more ▼

asked Feb 18, 2011 at 11:09 PM

avatar image

125 15 13 22

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

You probably checked the 3D option for the audio in your AssetBundle? and use 2D for the audio you load with WWW?. That would explain the difference in volume (as the 3D sound will be attenuated over distance from the listener, making it softer)

more ▼

answered May 25, 2011 at 01:43 PM

avatar image

Sren Christiansen
254 1 3 16

Something very similar. In the Editor, the sound was attached to a blank game object at the same location of the MainCamera, with the Mic. 2D sound would have fixed this (But I needed it to stay 3D as I used that same effect somewhere else that didn't need to be right next to the camera). So I added a code that moved the gameobject to stay right beside the camera. Apparently it was a bug in the Editor.

Dec 04, 2011 at 08:27 AM CinnaMint
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Feb 18, 2011 at 11:09 PM

Seen: 1984 times

Last Updated: Dec 04, 2011 at 08:27 AM