It is necessary to check the flag on the Mesh Renderer, and not the activity of the object.
I check if the object is displayed in Vuforia, because in Ecosystem Vuforia is not working.
Or I will have to change the built-in Vuforia script.
DefaultTrackableEventHandler.cs
Since he has a visibility check.
if (mTrackableBehaviour.TrackableName == "Name")
{
Actions
}