Mesh.Optimize() obsolete in Unity 5.5.05b

When trying to use Mesh.Optimize() in the new Unity 5.5.05b, I’m getting an auto-conversion by Unity that removes it, or if I leave it in, the error “UnityEngine.Mesh.Optimize() is obsolete: `This method is no longer supported (UnityUpgradable)”.

My questions, is this obsolete because it’s now handled automatically internally? Or is there some other command we can use in place of it now? Or does the new Unity lose this optimization at the cost of runtime speed? Thanks!

Use MeshUtility.Optimize(Mesh mesh).

Note: This is a UnityEditor utility. I have not yet found a UnityEngine equivalent.

It has even been removed from the 5.5b documentation.

They mark it as obsolete and “immediately” remove it from the manual without stating why. I suppose this is now handled by automatic compression?

At the time Mesh.Optimize was removed, it wasn’t doing anything (literally an empty function). Historically, all it was ever doing was converting a triangle list into a triangle strip, so it was made to not do anything when support for triangle strips was removed.

MeshUtility.Optimize does do some optimizations, but is only available in the Editor as @memBrain points out.