Find Asset from Mesh

How to find the Asset given a Mesh?
I have a MeshFilter which points to a Mesh, I need to get the corresponding “asset” mesh.
In fact I need to restore the position of a mesh in game to the position saved in the aaset model.

Hi!

If I understand your problem, you need to have the path of the mesh?

There is a function which possibly answers your question:

AssetDatabase.GetAssetPath()

Hope this is your answer, good day.