UAssetManager::RefreshPrimaryAssetDirectory

Refresh the entire set of asset data, can call from editor when things have changed dramatically.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/AssetManager.h

Include

#include "Engine/AssetManager.h"

Source

/Engine/Source/Runtime/Engine/Private/AssetManager.cpp

Syntax

virtual void RefreshPrimaryAssetDirectory
(
    bool bForceRefresh
)

Remarks

Refresh the entire set of asset data, can call from editor when things have changed dramatically. Will only refresh if force is true or it thinks something has changed