Version: 2017.2

AssetDatabase.ImportPackageFailedCallback

Switch to Manual
public delegatevoid ImportPackageFailedCallback (string packageName, string errorMessage);

Description

Delegate to be called from AssetDatabase.ImportPackage callbacks. packageName is the name of the package that raised the callback. errorMessage is the reason for the failure.

ImportPackageCallback is used by AssetDatabase.importPackageFailed.