UPackageTools::FindOrCreatePackageForAssetType

Find or create a package at the desired path If a package already exist but was made for another type of asset, this function will create another one with a modified unique name