can AssetDatabase.FindAssets return duplicate entries?
I have some code that is invoking ...
var newGuids = AssetDatabase.FindAssets(string.Empty, null);
my project structure and the response I get back from AssetDatabase.FindAssets is as fallows
Assets/Codefarts Game
Assets/Codefarts Game/Grid Mapping
Assets/Codefarts Game/Grid Mapping/Prefabs
Assets/Codefarts Game/Grid Mapping/Prefabs/Characters
Assets/Codefarts Game/Grid Mapping/Prefabs/Characters/Player.prefab
Assets/Codefarts Game/Grid Mapping/Prefabs/Characters/Player.prefab
Assets/Codefarts Game/Grid Mapping/Scripts
Assets/Codefarts Game/Grid Mapping/Scripts/Camera
Assets/Codefarts Game/Grid Mapping/Scripts/Camera/SmoothFollow2D.cs
Assets/Codefarts Game/Grid Mapping/Scripts/Character
Assets/Codefarts Game/Grid Mapping/Scripts/Character/CharacterMovement2D.cs
Assets/Editor
But there is a discrepancy. My project contains only one "Assets/Codefarts Game/Grid Mapping/Prefabs/Characters/Player.prefab" prefab file BUT AssetDatabase.FindAssets is reporting two instances each with the same guid.
Is this normal? or a bug? Basically I am trying to understand why AssetDatabase.FindAssets returns two instances and weather or not I can or should exclude one of the references. The documentation does not make any suggestions about the possibility of returning multiple guids for a single prefab/asset.
Seems kinda strange to me. Maybe I have yet to learn something about the FindAssets method? Maybe a bug? dunno /shrug
Any thoughts about duplicate entries? I'm running unity 5.3
Screen shot and sample unitypackage provided duplicate assets.zip <- click "CodeFarts->test findassets" in the main menu to test package.