# Documentation on AssetRegistry is out-of-date

**URL:** <https://forums.unrealengine.com/t/documentation-on-assetregistry-is-out-of-date/2334014>\
**Category:** Feedback & Requests\
**Tags:** documentation-bug, unreal-engine, documentation\
**Created:** [February 15, 2025, 11:27am UTC](https://forums.unrealengine.com/t/documentation-on-assetregistry-is-out-of-date/2334014 "2025-02-15T11:27:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deewens](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deewens](https://forums.unrealengine.com/u/Deewens)\
**Post date:** [February 15, 2025, 11:27am UTC](https://forums.unrealengine.com/t/documentation-on-assetregistry-is-out-of-date/2334014/1 "2025-02-15T11:27:29Z")

</div>

The documentation on AssetRegistry in out of date: [Asset Registry in Unreal Engine | Unreal Engine 5.4 Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/unreal-engine/asset-registry-in-unreal-engine?application_version=5.4)

The problem is within the **Obtaining a List of Assets** section (but there may be other issue, I haven’t read everything).  
The line `AssetRegistryModule.Get().GetAssetsByClass(Class->GetFName(), AssetData);` given in the example code is wrong, `Class->GetFName()` won’t work as parameter to this function, because the implicit construct is deprecated, as described within the engine source code. `Class->GetClassPathName()` must be used instead.

Thanks.
