Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
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
in General Discussion by Pierre-Marie B. (100 points)
edited by Pierre-Marie B.

1 Answer

0 votes
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.
by Devin K. (140 points)
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...
...