OnBecameVisible is always run?renderer.isVisible not available!

OnBecameVisible is always run?

and renderer.isVisible is not even available in the compiler (it is not known)?

i still spend hours in this matters
any help?

because your scene panel is active in your editor close it first any play it will work fine