A strange question go.IsActive()

Hi.
I came across an error that shows up in Editor mode. If the game is stopped (by pressing the play button),
If I code like this

void OnDisable()
        {
            if (GameObject.Find("Controller"))
            {
                // my code
            }
        }

This error occurs.
however If I code like this

 void OnDestroy()
        {
            if (GameObject.Find("Controller"))
            {
                // my code
            }
        }

This error will not appear.

this GameObject I I did not destroy it.everything seems work ok,is this a really error?

OnDisable() function is called when the object is destroyed.
Maybe you are trying to access to a Gameobject which there is not exist.

Are you kidding? Why are you updating post every time!?