Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. Contact Sales if your project requires a support plan.

Unable to open Inspector BaseType Picker in Unity 2018

+1 vote
Hi There,

I am currently being blocked by an inability to select soundbanks, events, or any other Base Type from the Unity Inspector in Unity 2018.1.0f2. When I press the inspector GUI button, I get this error:

NullReferenceException: Object reference not set to an instance of an object
AkUtilities.GetLastRectAbsolute (System.Boolean applyScroll) (at Assets/Wwise/Deployment/API/Handwritten/AkUtilities.cs:653)
AkBaseInspector.OnInspectorGUI () (at Assets/Wwise/Editor/WwiseComponents/AkBaseInspector.cs:128)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor[] editors, System.Int32 editorIndex, System.Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1295)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

 

And no dropdown picker appears. Anyone run into this?

Thanks,

 

Blake
asked Jun 5, 2018 in General Discussion by Blake J. (880 points)

1 Answer

+1 vote
 
Best answer
I added as the first line in GetLastRectAbsolute
return new UnityEngine.Rect(328, 218, 439, 18);

Those value are arbitrary but it will fix the issue while waiting for wwise to release a 2018 version.
answered Jun 18, 2018 by Mathieu D. (460 points)
selected Jun 18, 2018 by Blake J.
Awesome, that worked for me. Thanks a bunch!
...