I found out that this question was already asked in the past but I did not find an answer yet, maybe things have evolved?
I have a png sprite that I use as a gameobject. It is using a Mesh Filter and a Mesh collider as a component. However I did not yet manage to get (through C# code) a mesh of that specific visible sprite from the png.
This is my png, what I am trying to do is get a mesh that has the same shape.
I’m in 3D so I cannot use PolygonCollider2D as it cannot be rotated…