Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AssetImportContext.LogImportWarning

Declaration

public void LogImportWarning(string msg, Object obj);

Parameters

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

Description

Logs a warning message encountered during import.

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