Experimental: this API is experimental and might be changed or removed in the future.

AssetImportContext.LogImportError

Switch to Manual
public void LogImportError (string msg, Object obj);

Parameters

msgThe error message.
objOptional 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.