A couple of questions (481047)

A.
Anytime, that I save my scene, the Console prints out…
Cleaning up leaked objects in scene since no game object, component or manager is referencing them
Mesh has been leaked 13 times.

What should I be looking at? Scripts with unused vars? actual meshes?

B.
In all my JS scripts, I am now getting this warning.
WARNING: Namespace “System Collections” is never used.

Any guidance is appreciated.

I don’t know exactly why you are getting the Mesh leak message. However, I did run into a similar “leak message” in the past but about material…and it had to do with me swapping materials which was resulting in several instances of material being created (or left over) after I would swap back to sharedmaterial.

So, I suspect that somewhere you might be swapping mesh or doing some mesh operations (resulting in the shared mesh being instanced) and then perhaps going back to a shared mesh which would leave those instances of the mesh laying around…

Just a wild guess. Hope it helps.

Hmm.
I have a few calls to…
ObjectX.renderer.matierial.maintexture = thisthing;