Help me! Camera Path Animator error CS0103

Help me! I used Camera Path Animator in my work, when the game started all it’s ok. But if i Build the game appears this error : Assets/L’Infinito/Assets/NEW - Camera Path Animator/Source/CameraPathAnimatorLibrary.cs(1575,52): error CS0103: The name `EditorGUILayout’ does not exist in the current context

and: Assets/L’Infinito/Assets/NEW - Camera Path Animator/Source/CameraPathAnimatorLibrary.cs(2172,104): error CS0103: The name `Handles’ does not exist in the current context

Before this error appeared this : Assets/L’Infinito/Assets/NEW - Camera Path Animator/Source/CameraPathAnimatorLibrary.cs(35,7): error CS0246: The type or namespace name `UnityEditor’ could not be found. Are you missing a using directive or an assembly reference?

using UnityEditor;

what should I do?

Looks like you’re using Unity Editor things in game code. In this case Handles which draw editor objects into your Scene view when running the editor.
UnityEditor code is not compiled into builds so when you build your game - the functions do not exist.
You can either remove them or wrap any calls to Handles with the compiler conditional

#if UNITY_EDITOR using UnityEditor;