Unity Engine documentationScript ReferenceUnityEditorAssetPathToGUIDOptionsOnlyExistingAssetsReturn a GUID only if the asset exists on disk.Read time 1 minuteLast updated 11 days agoDefinition Type: Field Namespace: UnityEditor Assembly: UnityEditor.CoreModule OnlyExistingAssets = 1