How do I get the prefab name from an asset reference?

I’m having some trouble trying to translate from my list of AssetReferences in a build to the name of the prefab which is addressable. I’m trying to get this name so the user can choose what they want to load from a dropdown list.

In the editor i can use
assetReferences*.editorAsset.name*
what do i use in a build?

1 Like

I’m just trying to get a list of the assets with their prefab name before loading them in.

You can’t get the object’s name without loading in the object. You’ll have to store that information in another manner to be able to use it before loading the object.