Master Audio Dynamic Sound Group Issue

NodeCanvas Forums Support Master Audio Dynamic Sound Group Issue

This topic contains 4 replies, has 2 voices, and was last updated by  Gavalakis 3 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #14206


    Hi, I’m having an issue with the Master Audio extension where I can’t select sound from the dynamic group sound controller  (DGSC) prefabs.   Even typing in the name as a dynamicVariable doesn’t work.   I should note that groups under the MasterAudio “Brain” Prefab works fine and without issue.

    I reached out to  DarkTonic and they wrote back saying this:

    The Master Audio integration was written by the author of NodeCanvas and he sent us the package. You should reach out to him and have him fix it. It may help him to look at the code for SoundGroupAttribute in Master Audio, which does show Sound Groups from both Master Audio and DGSC’s.”






    Is the prefab an instance in the scene, or are you trying to select from the prefab asset itself? If the later, then that would not be possible since (Unity wise) you can’t reference child object of *prefabs assets* directly.


    Let me know.



    Hi, sorry for the late response, got tied up with other work.   It is an instance in the scene.    There are two types of soundgroups in MA  “MasterAudioGroup” and “DynamicSoundGroup”.  It seems like the event scrips only reference the MasterAudioGroups.

    I ended up making a new actiontask class just for the dynamic groups.  Where I took your PlaySound script and just changed:

    public BBParameter<MasterAudioGroup> soundGroup;


    public BBParameter<DynamicSoundGroup> soundGroup;

    And it seems to have got me where I need to be for the time being.  Still it would be nice to be able to see all the available soundgroups from a single action.



    I should note that in a regular monobehaviour if you use the following it will give you serialized access to both types of groups:



    public string groupName;



    Hello again,

    Thanks for the follow up. I will take a look at the possibility to have both able to be referenced. That would be very easy if MasterAudioGroup and DynamicSoundGroup derive from the same type, or if the both implement an interface (I have yet to check if this is true or not), otherwise a custom editor will be needed just for those two.


Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.