UObjectLibrary - Refresh assetdata


I create an Objectlibrary with C++ and its load all assets from the game-path. If i restart the game in the editor the assetdata don’t refresh, if there are new assets at this path. Only if I restart the editor the library gets the new assets.

ObjectLibrary = UObjectLibrary::CreateLibrary( UStaticMesh::StaticClass(), false, GIsEditor );
TArray<FAssetData> AssetDatas;

for ( int32 i = 0; i < AssetDatas.Num(); i++ )
    FAssetData& AssetData = AssetDatas[i];

How can I refresh the library? With begindestroy() in EndPlay()-Function I get an error.

Best regards,