La section Questions et réponses de la communauté Audiokinetic est un forum où les utilisateurs de Wwise et de Strata peuvent poser des questions et répondre à celles des autres membres de la communauté. Si vous souhaitez obtenir une réponse de la part de l'équipe de soutien technique d'Audiokinetic, veillez à utiliser le formulaire de Tickets de Soutien.

[SOLVED] What is the default sound bank path in unity

+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
demandé 6-Avr-2020 dans General Discussion par Cringey B. (190 points)
edité 7-Avr-2020 par Cringey B.

1 Réponse

+3 votes
 
Meilleure réponse
Hey Cringey,

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

Let me know if it helps.
répondu 6-Avr-2020 par Mads Maretty S. (Audiokinetic) (39,400 points)
sélectionné 15-Dec-2022 par 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
...