社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,Wwise 和游戏引擎版本以及所用操作系统等等。
  • 阐明所做努力:阐明自己为了排除故障都采取了哪些措施。
  • 聚焦问题本身:聚焦于问题本身的相关技术细节,以便别人可以快速找到解决方案。

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
分类:General Discussion | 用户: Pierre-Marie B. (100 分)
修改于 用户: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...
...