Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

[Unity] How to play sound on editor mode

+1 vote
Hello, i'm trying to play sound with wwise, while i'm on editor mode.  but my event work well in "play" and not in "editor mode" for the same scene.

 

in editor mode, i get my event on the wwise profiler,  but no sound is played.
asked Nov 9, 2018 in General Discussion by Thibaut G. (110 points)
Could it possibly be a misplaced RTPC? What do you mean by "editor mode"?
i mean, while i'm on the unity editor, but  not in "play" mode,

2 Answers

+1 vote
You need to make sure there's the SoundBank GameObject, AkInitializer GameObject and AkSoundListener Object.
answered Sep 27, 2019 by Sally P. (360 points)
0 votes
Hey Thibaut,

Where do you have your scene view camera once playing the sound? Once in editor mode, I believe that the scene view camera acts as your listener, so if you are watching the sound's object on too far a distance, the attentuation might make it inaudible.

Is this helpful? or did you already fix it?
answered Oct 1, 2019 by Mads Maretty S. (Audiokinetic) (38,720 points)
...