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.

+1 vote
I accidentally changed the sound bank path in the Project Settings and now I can't make Wwise Picker refresh correctly and I don't see most of my sound banks and events. I know this is because of the path because I kept getting an error and when I looked in the script of wwise I saw that it has something to do with the sound bank path:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <437ba245d8404784b9fbab9b439ac908>:0
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0
  at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <437ba245d8404784b9fbab9b439ac908>:0
  at System.Collections.Generic.List`1[T].System.Collections.IList.get_Item (System.Int32 index) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0
  at System.Collections.ArrayList+IListWrapper.get_Item (System.Int32 index) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0
  at AkWwiseWWUBuilder.GetWwuPathAndIcons (System.String in_parentRelativePhysicalPath, System.String in_wwuType, System.String in_relativePhysicalPath, System.Collections.Generic.LinkedList`1[AkWwiseProjectData+PathElement]& out_PathAndIcons) [0x00056] in D:\Documents\Repositories\ChepheusGame\Assets\Wwise\Editor\WwiseWindows\AkWwiseWWUBuilder.cs:886
  at AkWwiseWWUBuilder.CreateWorkUnit (System.String in_relativePath, System.String in_wwuType, System.String in_fullPath) [0x0015e] in D:\Documents\Repositories\ChepheusGame\Assets\Wwise\Editor\WwiseWindows\AkWwiseWWUBuilder.cs:810
  at AkWwiseWWUBuilder.UpdateFiles () [0x0007e] in D:\Documents\Repositories\ChepheusGame\Assets\Wwise\Editor\WwiseWindows\AkWwiseWWUBuilder.cs:471
  at AkWwiseWWUBuilder.Populate () [0x0009e] in D:\Documents\Repositories\ChepheusGame\Assets\Wwise\Editor\WwiseWindows\AkWwiseWWUBuilder.cs:101
UnityEngine.Debug:LogError(Object)
AkWwiseWWUBuilder:Populate() (at Assets/Wwise/Editor/WwiseWindows/AkWwiseWWUBuilder.cs:106)
AkWwiseWWUBuilder:Tick() (at Assets/Wwise/Editor/WwiseWindows/AkWwiseWWUBuilder.cs:37)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

 

 

When I updated wwise I saw all of the old sound banks that I couldn't see before but now I added new ones and I can't see them
in General Discussion by Cringey B. (190 points)
edited by Cringey B.

1 Answer

+3 votes
 
Best answer
Hey Cringey,

Can you try deleting your AkWwiseProjectData.asset file and let the integration re-create it.

Let me know if it helps.
by Mads Maretty S. (Audiokinetic) (40.2k points)
selected by Mads Maretty S. (Audiokinetic)
Omg! It is working! Thank you so much!
Hey Mads this worked for me too but I'm having to delete these files every time I want to add a new sound via the Picker. Is a more permanent solution possible?
How do you let the intergration re-create it? what are the steps?
Hey Stephane, all I did was delete the AkWwiseProjectData.asset file and then go back to Unity. It automatically regenerates the file and updates the wwise picker with new events. For me at least though I now have to do that every time I add a new event or change an event name... Quite annoying!
Hey Dan, I tried that but it did not work the hiearchy in the wwise picker is still wacked
...