Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Wwise picker tab empty and stuck + empty Wwise components - Unity 5.3.4f1 / Wwise latest intergration pack

0 votes

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)
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)
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)


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
asked May 4, 2016 in General Discussion by Pierre-Marie B. (100 points)
edited May 6, 2016 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.
answered Jun 16, 2016 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...