UdonBehaviour has
HasError
that becomes true if the Udon got an error, but it is not exposed for Udon. Currently checking
enabled
becomes false is the only way to detect if an Udon has error, but it cannot distinguish
enabled = false
is by user or by Udon error.
Using
HasError
will helps tracking bugs about user-created Udons, so I thought
HasError
should be exposed.