AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

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

+1 支持
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
Cringey B. (190 ポイント) 2020 4/6 質問 General Discussion
Cringey B. 2020 4/7 編集

回答 1

+3 支持
 
ベストアンサー
Hey Cringey,

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

Let me know if it helps.
Mads Maretty S. (Audiokinetic) (39,400 ポイント) 2020 4/6 回答
Mads Maretty S. (Audiokinetic) 2022 12/15 選択
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
...