/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/Utility/DatasmithImporterUtils.h
Try to compute a char budget for asset names, including FNames constraints, OS constraints, parent package, and user defined limitation.
An estimation of the budget for asset names
static int32 GetAssetNameMaxCharCount ( const [UPackage](API\Runtime\CoreUObject\UObject\UPackage) * ParentPackage )