As the title implies. I’m having trouble figuring out the AssetDatabase.FindAssets search string.
I have a bunch of assets with spaces in their names.
I need to search for a specific asset with the exact name given.
I keep getting assets that also contain the search string… how can I just get it to return an exact match!
I’ve spent a long time googling but I am guessing there’s some syntax/search term I don’t know about and Unity docs are very vague.
AssetDatabase.FindAssets will find all objet that have “fileName” is their name, so your codedoes not work if you have “helloFile” and “helloFile2” it will find both