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.

0 votes
We are working with an outside audio shop to help with getting some ambient sounds into our Unity3d VR application. We integrated in the Wwise unity package on Friday and this NullReferenceException started appearing in the console.

Here is what is in Version.txt:

Wwise Unity Integration Version Info:

Stable Version (SVN): 2114

Based on Wwise SDK: 2015.1.2 Build 5457

Unity Integration Version: 10

Installed Platforms: Windows

 

We are using Unity 5.2.0f3 and 5.2.1f1 on Windows. We have a mix of users (some on Windows 8.1 and some on Windows 10).

We have a WwiseGlobal object in the hierarchy.

Here is the call stack from the console we just start Unity with our default scene:

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)
Postprocessor.OnPostprocessAllAssets (System.String[] importedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromAssetPaths) (at Assets/Wwise/Editor/WwiseWindows/AkWwisePicker.cs:22)
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-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
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-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.AssetPostprocessingInternal.PostprocessAllAssets (System.String[] importedAssets, System.String[] addedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromPathAssets) (at C:/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:27)

Any assistance would be greatly appreciated.

Cheers,

scott
in General Discussion by Scott R. (100 points)
Was there any resolution to this? I am also getting this problem and not sure what is causing it.

Please sign-in or register to answer this question.

...