Asset path from world

I need to find a way to get the path of the object… ie Resources/Object_Folder/Object.prefab while running or in the editor?
can someone help me?

What would you need it for?

Unity itself wouldn’t have any use for it, thats why I ask

We are creating a game that allows customization of game objects with different components, so we are creating these components and placing them in the resources folder. So we can use the path to save in a database so that user can load in their created gameobject.

Sorry but not understanding how this requires a path

components are assigned by string, not by paths and components or any script can not be added to the app post building.

I am sorry, not path as in related to the app but in resources. I figured it out.

Resources.Load(path) will allow me to load a prefab at run time from my resources folder. This allows for objects to be created from “paths” in my db.