error CS0246: The type or namespace name `UnityEditor' could not be found. Are you missing an assembly reference?

The game runs well but when you try to build it this error appears
This is my error:
Assets/Scripts/Change_level.cs(4,7): error CS0246: The type or namespace name `UnityEditor’ could not be found. Are you missing an assembly reference?[98848-change-level.txt|98848]

Use UnityEngine.SceneManagement, not UnityEditor.SceneManagement.

Every import with UnityEditor in it is for editor plugins only and not allowed to be part of any script that is supposed to be in the build.