Seems that the methods
OnBecameInvisible, OnBecameVisible
Are broken. I tested using a monoscript and they trigger properly, but they don't trigger using Udon.
Regular practices were followed in the testing, e.g.
-Object has a meshrenderer
-Has a standard shader (nothing funky)
  • Scene camera is not messing with the results (closed the tab)
  • No other cameras looking at it. Only camera being tested is the main camera
  • Set normal callbacks as usual (using UdonSharp)
  • Exact same code, except using Monoscript, works properly
  • OnWillRenderObject DOES work however.
-> Using Udon 2020.06.16.20.53_Public.