Whenever my project refreshes/reloads (make a change in script and the Editor rebuilds scripts), I get the following 7 errors in the console…
- Mesh.vertices is too large. A mesh may not have more than 65000 vertices.
UnityEngine.Canvas:SendWillRenderCanvases() - Mesh.colors is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
UnityEngine.Canvas:SendWillRenderCanvases() - Mesh.uv is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
UnityEngine.Canvas:SendWillRenderCanvases() - Mesh.uv2 is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
UnityEngine.Canvas:SendWillRenderCanvases() - Mesh.normals is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
UnityEngine.Canvas:SendWillRenderCanvases() - Mesh.tangents is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
UnityEngine.Canvas:SendWillRenderCanvases() - Failed setting triangles. Some indices are referencing out of bounds vertices. IndexCount: 98304, VertexCount: 0
UnityEngine.Canvas:SendWillRenderCanvases()
When I double-click on the first or 7th error in the console, the Inspector shows “Shared UI Mesh 36 vets, 18 tris, uv, uv2, colors”
I can, however, play, build, etc. with no problems. I can clear the console log, too.
I didn’t get these errors in Unity 5.1.x or any previous version of Unity.
Is this a bug in 5.2 or is 5.2 catching something that previous versions didn’t and I need to address it?