New Level Sequence not showing in Content Browser

Hello. I’ve creating a new level sequence via C++ and it creates the uasset on disk but is not visible in the content browser. I’m in Unreal 5.5 and Visual Studio version 17.11.2. Any help as to why this is would be appreciated as I create one via python and it work fine. Thanks in advance. Joe

    UPackage* Package = CreatePackage(*FString("/Game/Shots/NewLevelSequence"));
    ULevelSequence* LevelSequence = NewObject<ULevelSequence>(
        Package, ULevelSequence::StaticClass(), NAME_None, RF_Public | RF_Standalone);
    LevelSequence->Initialize();

    // get package name and file path
    const FString PackageName = Package->GetName();
    const FString PackageFileName = FPackageName::LongPackageNameToFilename(
        PackageName, FPackageName::GetAssetPackageExtension());

    // create the save args
    FSavePackageArgs SaveArgs;
    SaveArgs.TopLevelFlags = RF_Public | RF_Standalone;
    SaveArgs.SaveFlags = SAVE_NoError;
    UPackage::SavePackage(Package, nullptr, *PackageFileName, SaveArgs);

Try calling:

FAssetRegistryModule::AssetCreated(LevelSequence);

Hi Max. Thanks for your response. The same problem exists which is strange. I’ve added to the code to open the level sequence and I click on the show in content browser and it goes to the correct folder but it doesn’t show up.

Thanks. Joe