I Have the same error…
By the looks of it, it seems it has something to do with the renderer… but I have no idea.
What I’m doing that seems to cause this, is change a material of an object at run-time.
But I have no idea why it pops an error… because everything seems to be working…
This is the line of code that is cousing it in my code:
I know its too late.
But can you tell me Duggo42 what model has the issue in. Like do you have an skinned animated model that is throwing the or a static model.
Stan
Yup, same error:
(m_IsVisibleInScene IsInScene()) == m_IsVisibleInScene
I notice this error is stemming from animated skinned meshes. If I play the scene with the animator controller enabled, I get a stream of errors. If I play the scene with the animator controller disabled and THEN enable it, no error. Hmmm. I wish I were a coder!
I get this error when my script ends. If seems to occur because I replace the animated sprites at runtime. I guess for me it’s an issue with the editor finding the sprites it’s trying to draw no longer exist.
Mecanim: Fixed Animator exception (m_IsVisibleInScene && IsInScene()) == m_IsVisibleInScene) when disabling a game object with a disabled mesh renderer.
I get this error in Unity 2017.1 when using OnBecameVisible() with simple sprites. Not crushing in editor or anything. Apparently fixed in Unity 2017.2. When I will swithc will tell if error is still there.