/Engine/Plugins/VirtualProduction/Takes/Source/TakesCore/Public/TakesUtils.h
You should consider calling MarkPackageDirty() on the returned asset if you further modify it, and you shouldstill notify theFAssetRegistryModulethat the asset was created after this by callingFAssetRegistryModule::AssetCreatedTrue if the asset was created successfully, false if there was an error.
namespace TakesUtils { template<typename AssetType> static bool TakesUtils::CreateNewAssetPackage ( [FString](API\Runtime\Core\Containers\FString) & InPackageName, AssetType *& OutAsset, [FText](API\Runtime\Core\Internationalization\FText) * OutError, AssetType * OptionalBase ) }