コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

0 支持
Hello,

I opened my unity project this morning and my Wwise Picker Tab stopped working. Same for all Wwise components, though there's still sound when playing the game.

I can't move it around and the tab is empty.

I tried to reset layout, but that didn't changed anything.

Console shows this error every time I click on the picker tab:

NullReferenceException: Object reference not set to an instance of an object
AkWwisePicker.OnGUI () (at Assets/Wwise/Editor/WwiseWindows/AkWwisePicker.cs:56)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

 When I open project I get 4 errors in the console:

iterator == end
UnityEditor.AssetDatabase:LoadAssetAtPath(String, Type)
AkWwiseProjectInfo:GetData() (at Assets/Wwise/Editor/WwiseWindows/AkWwiseProjectInfo.cs:24)
AkWwiseTreeView:GetExpansionStatus(String) (at Assets/Wwise/Editor/WwiseWindows/AkWwiseTreeView.cs:606)
AkWwiseTreeView:SetRootItem(String, WwiseObjectType) (at Assets/Wwise/Editor/WwiseWindows/AkWwiseTreeView.cs:92)
AkWwisePicker:PopulateTreeview() (at Assets/Wwise/Editor/WwiseWindows/AkWwisePicker.cs:92)
AkWwiseTreeView:SaveExpansionStatus() (at Assets/Wwise/Editor/WwiseWindows/AkWwiseTreeView.cs:570)
AkWwisePicker:OnEnable() (at Assets/Wwise/Editor/WwiseWindows/AkWwisePicker.cs:47)
UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)

 

NullReferenceException: Object reference not set to an instance of an object
AkWwiseTreeView.GetExpansionStatus (System.String in_path) (at Assets/Wwise/Editor/WwiseWindows/AkWwiseTreeView.cs:606)
AkWwiseTreeView.SetRootItem (System.String Header, WwiseObjectType ObjType) (at Assets/Wwise/Editor/WwiseWindows/AkWwiseTreeView.cs:92)
AkWwisePicker.PopulateTreeview () (at Assets/Wwise/Editor/WwiseWindows/AkWwisePicker.cs:92)
AkWwiseTreeView.SaveExpansionStatus () (at Assets/Wwise/Editor/WwiseWindows/AkWwiseTreeView.cs:570)
AkWwisePicker.OnEnable () (at Assets/Wwise/Editor/WwiseWindows/AkWwisePicker.cs:47)
UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)

iterator == end
UnityEditor.AssetDatabase:LoadAssetAtPath(String, Type)
AkWwiseProjectInfo:GetData() (at Assets/Wwise/Editor/WwiseWindows/AkWwiseProjectInfo.cs:24)
AkWwisePostImportCallback:CheckWwiseGlobalExistance() (at Assets/Wwise/Editor/WwiseSetupWizard/AkWwisePostImportCallback.cs:219)
UnityEditor.EditorApplication:Internal_CallHierarchyWindowHasChanged()

and

NullReferenceException: Object reference not set to an instance of an object
AkWwisePostImportCallback.CheckWwiseGlobalExistance () (at Assets/Wwise/Editor/WwiseSetupWizard/AkWwisePostImportCallback.cs:219)
UnityEditor.EditorApplication.Internal_CallHierarchyWindowHasChanged () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorApplicationBindings.gen.cs:251)

 

I re install Unity, doesn't work, I tried uninstalling/resintalling integration package but then all scripts are missing and the installation seems incomplete.

 

Hope someone can help me with this
Pierre-Marie B. (100 ポイント) General Discussion
Pierre-Marie B. 編集

回答 1

0 支持
I just encountered a similar error. I resolved it by deleting and then restoring (from my source control) all the wwise files in my unity Assets folder. Didn't track down exactly what was corrupted. I suspect that my actions forced Unity to reimport the files which cleared out whatever was broken. Just forcing reimport on the Assets/Wwise folder and the WwiseSettings.xml files may be able to solve it.
Devin K. (140 ポイント)
Thanks for your answer.
I resolved this quite the same way, replacing the all the Wwise files in the Unity Assets folder with a backup.
Though reinstalling wwise intergration after uninstalling/deleting did not work in my case...
...