# AssetRegistry  GetDependencies could not Get all Dependencies after the Perforce Download 

**URL:** <https://forums.unrealengine.com/t/assetregistry-getdependencies-could-not-get-all-dependencies-after-the-perforce-download/2712339>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [March 4, 2026, 3:16am UTC](https://forums.unrealengine.com/t/assetregistry-getdependencies-could-not-get-all-dependencies-after-the-perforce-download/2712339 "2026-03-04T03:16:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [March 4, 2026, 3:16am UTC](https://forums.unrealengine.com/t/assetregistry-getdependencies-could-not-get-all-dependencies-after-the-perforce-download/2712339/1 "2026-03-04T03:16:10Z")

</div>

I want Get all Dependencies from the Perforce,but the API is not ruturn all the Dependencies releate to it self;When you open tthe Reference View,there are still some texture are not Sync correct.Sync Package from SourceControl takes the main Thread but AssetRegistry rebuild seems runing on the background Thread.Is there any API to Force AssetsRegistry refresh the Dependencies?

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [March 4, 2026, 3:16am UTC](https://forums.unrealengine.com/t/assetregistry-getdependencies-could-not-get-all-dependencies-after-the-perforce-download/2712339/2 "2026-03-04T03:16:14Z")

</div>

**Steps to Reproduce**  
1.Get Selected Assets;

2.Using AssetRegistry.GetDependencies Function to get All Dependencies;

3.Update Dependencies from Perforce by calling AssetViewUtils::SyncPackagesFromSourceControl;

4.Append the Dependencies to the Next foreach circle;

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![UE\_Seb.Tho](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ue_seb.tho/32/1104173_2.png) [@UE\_Seb.Tho](https://forums.unrealengine.com/u/UE_Seb.Tho)\
**Post date:** [March 9, 2026, 1:31pm UTC](https://forums.unrealengine.com/t/assetregistry-getdependencies-could-not-get-all-dependencies-after-the-perforce-download/2712339/3 "2026-03-09T13:31:29Z")

</div>

Hi!

Could you try calling **WaitForCompletion()** on the AssetRegistry after you have synced and loaded the new packages?

The AssetRegistry will scan any newly loaded packages, but only once per tick or when manually requested.

**WaitForCompletion** should flush any pending packages to scan and immediately update the internal state with their info.

Kind Regards,

Sebasitan

[Attachment Removed]
