Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

NullReferenceException in AkWwiseTreeView.cs:606 what should I do?

0 투표
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
문의 2015 10월 12 General Discussion Scott R. (100 포인트) 로 부터
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.

...