diff --git a/client/ayon_core/plugins/publish/collect_hierarchy.py b/client/ayon_core/plugins/publish/collect_hierarchy.py index 145c2beb9b..7c2b2fd5d1 100644 --- a/client/ayon_core/plugins/publish/collect_hierarchy.py +++ b/client/ayon_core/plugins/publish/collect_hierarchy.py @@ -92,7 +92,7 @@ class CollectHierarchy( existing_entities = { folder_entity["path"]: folder_entity for folder_entity in ayon_api.get_folders( - project_name, folder_paths=folder_paths) + project_name, folder_paths=folder_paths, fields={"path"}) } for folder_path in folder_paths: # add None value to non-existing folder entities