Community Q&A

Where Wwise users help each other out!

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

"Set Game Parameter" event does not seem to be working.

0 votes
The "Set Game Parameter" event does not seem to change the parameter value at all.  I'm not certain whether this is a glitch in the Mac Beta version I am using, or if I am doing something wrong.  I created a test scenerio to make sure it wasn't something else by created a Test_Param game sync parameter, and then a Test_Param event which is set to change the Parameter's default (50) to 25 when triggered in my soundcaster session.  When I trigger the event, however, nothing happens - the parameter's value as stated in the RTPCs box at the top of the Soundcaster session does not change.

 

OSX: 10.7.5
Language: English/Canadian English
The Mac Beta version as listed in "About Wwise" is "Version 201X.X.X (Build XXXX)".  The build download it is installed from is 2013.2.8_Build4865.
asked Jul 3, 2014 in General Discussion by Beatrix Moersch (2,810 points)
reopened Jul 18, 2014 by Bernard R. (Audiokinetic)

1 Answer

+3 votes

The parameter does change, but the visual representation of its value in the soundcaster session is not updated.

You can also the Game Sync Monitor (F12) to see RTPC values set from other sources (game API or event).  You will need to add the Transport/Soundcaster game object in the Game Object Explorer's Watches.

answered Jul 18, 2014 by Bernard R. (Audiokinetic) (26,490 points)
I have the same problem.

It seems that when I'm trying to set a game parameter value using the "Set game parameter" event, it has no action at all in Unity. I tried to verify this using the Game Sync Monitor, and I saw that the value sticks to its default even if I called the event.

I'm currently trying to call the event this way in Unity : WwiseAudioManager.instance.PlayFiniteEvent("event_name", gameObject);
Is this a mistake and not the way to call a "set game parameter" event ?

I should precise that it works fine when I set the value manually in unity with the SetRTPCValue() function.

Thank you for your time,

Adrien
I recently had this problem again, and found that the parameter switch only worked in the Soundcaster session if it was a game object scoped parameter change. Strangely, if the scope on the set parameter event was Global, it did nothing. This is Wwise local specific (not in game-engine).
...