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.

+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
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.
by Mathieu D. (460 points)
selected by Blake J.
Awesome, that worked for me. Thanks a bunch!
...