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 script AkAmbientinspector include obsolete objects

+1 vote

Hi everyone,

I got this errors in Unity with a wwise script :

Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(236,12): warning CS0618: `UnityEditor.Handles.DrawCapFunction' is obsolete: `This delegate is obsolete. Use CapFunction instead.'

Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(236,46): warning CS0618: `UnityEditor.Handles.SphereCap(int, UnityEngine.Vector3, UnityEngine.Quaternion, float)' is obsolete: `Use SphereHandleCap instead'

Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(237,12): warning CS0618: `UnityEditor.Handles.ScaleValueHandle(float, UnityEngine.Vector3, UnityEngine.Quaternion, float, UnityEditor.Handles.DrawCapFunction, float)' is obsolete: `DrawCapFunction is obsolete. Use the version with CapFunction instead. Example: Change SphereCap to SphereHandleCap.'

Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(351,12): warning CS0618: `UnityEditor.Handles.SphereCap(int, UnityEngine.Vector3, UnityEngine.Quaternion, float)' is obsolete: `Use SphereHandleCap instead'

so following this link, I tried to replace it, following carefully the replacement names but I'm doing it wrong because I get this :

Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(236,18): error CS0103: The name `SphereHandleCap' does not exist in the current context

Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(236,4): error CS0103: The name `CapFunction' does not exist in the current context

Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(237,70): error CS0103: The name `CapFunction' does not exist in the current context

Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(351,4): error CS0103: The name `SphereHandleCap' does not exist in the current context

is there a simpler workaround like maybe an update of wwise to do ?

I'm using unity 5.6 and wwise 2016.2.2

 

thank you,

asked Apr 4, 2017 in General Discussion by Romain L. (160 points)

Please sign-in or register to answer this question.

...