Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: insiderrr on October 02, 2015, 06:40:17 AM

Title: Random audio in unity 5.2
Post by: insiderrr on October 02, 2015, 06:40:17 AM
Hi all,

last week i upgraded my project to unity 5.2. When i played my scene a lot of the audio tracks where changed to 3D audio.

Seems like they changed the workflow and it's hard to change this back to 2D audio.

You can't edit the audio settings anymore in the track self, only audio source has options to change this.

The ' Play random audio'  works with "one shot audio" that means it's not editable in the editor, when i play the scene the ' one shot audio'  appears, but i can not change the values.

Any idea how to get my origional setttings back?
Title: Re: Random audio in unity 5.2
Post by: djaydino on October 02, 2015, 01:31:33 PM
Hi,
i have not updated to 5.2 yet,
but on 5.1 you can change it on the "audio source" component.
Look for spatial blend
Title: Re: Random audio in unity 5.2
Post by: charming_fox on October 05, 2015, 04:28:20 AM
Hi there, same issue this weekend after upgrading Unity, all my UI sounds can no longer be heard as they're now 3D sounds being spawned somewhere else. Sorry I can't offer any help, just wanted to confirm same problem.
Title: Re: Random audio in unity 5.2
Post by: djaydino on October 05, 2015, 12:36:31 PM
Hi,
Confirmed on 5.2.
find the Audio Source Component and change the Spatial Blend to 2D.

(http://s25.postimg.org/hj2osxifj/sound.png) (http://postimg.org/image/i8lh5aiyz/)
Title: Re: Random audio in unity 5.2
Post by: insiderrr on October 05, 2015, 12:53:01 PM
The ' Play random audio'  works with "one shot audio" that means it's not editable in the editor, when i play the scene the ' one shot audio'  appears, but i can not change the values.

This works different, there is no audio source when not playing the scene. any idea how to solve this ?
Title: Re: Random audio in unity 5.2
Post by: djaydino on October 05, 2015, 03:41:17 PM
Hi,
I made an action for 2d use
I tested it and seems to work, can you test it and confirm if it works so i can add it to the EcoSystem :)

I am still thinking if i would set a volume for each Clip or 1 for all...
Title: Re: Random audio in unity 5.2
Post by: charming_fox on October 06, 2015, 05:13:18 AM
Sweet, I'll give it a go this afternoon and let you know.

Thank you!
Title: Re: Random audio in unity 5.2
Post by: djaydino on October 06, 2015, 02:40:20 PM
Hi,
i uploaded a wrong version, please download again if you have downloaded it.
Title: Re: Random audio in unity 5.2
Post by: charming_fox on October 15, 2015, 06:09:55 AM
Hi djaydino,

Tried to use this action today but my problem differs from insiderrr's. I'm in need of a replacement for Play Sound which forces to 2D and doesn't require an audio source component but thanks for providing this, I'm sure i'll find use for it!

Cheers