This version of Unity is unsupported.

AssetImportContext.LogImportError

Declaration

public void LogImportError(string msg, Object obj);

Parameters

msg The error message.
obj Optional Object that is targeted by the error.

Description

Logs an error message encountered during import.

Use this method to notify the user of a critical issue. This method outputs to the console. Traces in the console are linked to the asset.