RealDocs

UAssetManager::LoadRedirectorMaps

function Engine Since unknown
#include "Engine/AssetManager.h"
Access: public Specifiers: virtual

Description

Parses the primary asset id and asset path redirector lists from the Asset Manager settings into the lookup maps used by GetRedirectedPrimaryAssetId and GetRedirectedAssetPath.

Caveats & Gotchas

  • Called automatically from PostInitProperties(); you only need to call it again manually after changing redirector config at runtime.
  • Redirector data comes from UAssetManagerSettings::PrimaryAssetIdRedirects and AssetPathRedirects, so edits made outside of config won't be picked up.

Signature

virtual void LoadRedirectorMaps()

Return Type

void

Example

Reload redirectors after a runtime config change C++
UAssetManager::Get().LoadRedirectorMaps();

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.