Hi
Just Updated unreal to latest 5.1.1 and now destination_name does not renaming the asset
Using filename as the full path of the asset and then name to give it a new name i wanted
def _build_import_task(filename, destination_path, options=None, name=''):
task = unreal.AssetImportTask()
task.set_editor_property('filename', filename)
task.set_editor_property('destination_name', name)
task.set_editor_property('destination_path', destination_path)
task.set_editor_property('options', options)
task.set_editor_property('automated', True)
task.set_editor_property('replace_existing', True)
task.set_editor_property('save', True)
return task