Annoying warnings

Hello,
why just not cleaning the code so we don’t get this warnings? :frowning:
Unity 5.6
A* 4.0.8 Free Version

Assets/AstarPathfindingProject/Editor/GraphEditors/GridGeneratorEditor.cs(432,12): warning CS0618: UnityEditor.Handles.DrawCapFunction' is obsolete:This delegate is obsolete. Use CapFunction instead.’

Assets/AstarPathfindingProject/Editor/GraphEditors/GridGeneratorEditor.cs(432,42): warning CS0618: UnityEditor.Handles.CylinderCap(int, UnityEngine.Vector3, UnityEngine.Quaternion, float)' is obsolete:Use CylinderHandleCap instead’

Assets/AstarPathfindingProject/Editor/GraphEditors/GridGeneratorEditor.cs(443,58): warning CS0618: UnityEditor.Handles.Slider(UnityEngine.Vector3, UnityEngine.Vector3, float, UnityEditor.Handles.DrawCapFunction, float)' is obsolete:DrawCapFunction is obsolete. Use the version with CapFunction instead. Example: Change SphereCap to SphereHandleCap.’

Assets/AstarPathfindingProject/Editor/GraphUpdateSceneEditor.cs(235,14): warning CS0618: UnityEditor.Handles.SphereCap(int, UnityEngine.Vector3, UnityEngine.Quaternion, float)' is obsolete:Use SphereHandleCap instead’

Assets/AstarPathfindingProject/Editor/GraphUpdateSceneEditor.cs(244,14): warning CS0618: UnityEditor.Handles.SphereCap(int, UnityEngine.Vector3, UnityEngine.Quaternion, float)' is obsolete:Use SphereHandleCap instead’

Assets/AstarPathfindingProject/Editor/GraphUpdateSceneEditor.cs(269,16): warning CS0618: UnityEditor.Handles.SphereCap(int, UnityEngine.Vector3, UnityEngine.Quaternion, float)' is obsolete:Use SphereHandleCap instead’

Assets/AstarPathfindingProject/Editor/GraphUpdateSceneEditor.cs(314,16): warning CS0618: UnityEditor.Handles.SphereCap(int, UnityEngine.Vector3, UnityEngine.Quaternion, float)' is obsolete:Use SphereHandleCap instead’

Thanks!

Hi

Thanks for reporting this.
They must have deprecated these very recently. I have an automated script that checks for warnings when building for different Unity versions, but it seems the version of 5.6 that it used was a bit too old to detect these warnings.

I will fix them and upload a new version soon.