OnBecameVisible / OnBecameInvisible do not function with a Shape component.
I suspect this is probably because these unity messages are based on unity renderers, but I switched to Shapes from using Unity's Line Renderer and I had some game functionality based on knowing that an object was now off screen, and it no longer works because these messages don't fire when the objects go off screen. They still fire when created/destroyed, which is probably a unity internal fallback.
My project is a Unity 2D URP project, nothing particularly special going on otherwise. In case it matters, I've observed this behavior with a Cuboid component as well as a Line component.
Reporting a bug? please specify Unity version:
2022.3.4
Reporting a bug? please specify Shapes version:
4.2.1
Reporting a bug? please specify Render Pipeline:
URP