Just as the subject states - we build a lot with 2D Sprites and Mesh Colliders. However, from time to time we get the error "Invalid mesh collider on sprite, please remove and try again." (don't know why, it's quite annoying). However, since we use hundreds of sprites, it's a game of guessing. Therefore, I would suggest to include the sprite name in the error message, to make it easier to find.
The patch would be quite simple:
File: tk2dBaseSprite.cs
Method: CreateCollider()
Replace
if (Application.isPlaying)
{
Debug.LogError("Invalid mesh collider on sprite, please remove and try again.");
}
with
if (Application.isPlaying)
{
Debug.LogError("Invalid mesh collider on sprite " + sprite.name + ", please remove and try again.");
}