csharp
public record class ImportDiagnosticSomething an importer said about an asset.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Carried out of the import rather than logged from inside it, so that the editor can show it against the asset in the inspector, the CLI can print it, and a build can fail on it — three consumers that a call to a logger inside the importer would have served none of.
Fields and properties (2)
public ImportSeverity SeverityHow much attention it needs.
public string MessageWhat it says, in a sentence a person can act on.
Methods (1)
public ImportDiagnostic(ImportSeverity Severity, string Message)Something an importer said about an asset.
Used by (33)
- AddressableGroupsViewVixen.Editor.AssetEditors
- AnimationClipImporterTestsVixen.Editor.Assets.Tests
- AudioImporterTestsVixen.Editor.Assets.Tests
- BuildPlanVixen.Editor.Assets
- BuildPlannerVixen.Editor.Assets
- BuildPlannerTestsVixen.Editor.Assets.Tests
- ClipMetadataTestsVixen.Editor.Assets.Tests
- CompilerPoolVixen.AssetCompiler
- CompilerPoolTestsVixen.AssetCompiler.Tests
- ConstraintAuthoringImporterTestsVixen.Editor.Assets.Tests
- ContentBuildResultVixen.Editor.Assets
- ContentBuilderVixen.Editor.Assets
- ContentBuilderTestsVixen.Editor.Assets.Tests
- ContentPipelineVixen.Editor.Assets
- CreateMenuTestsVixen.Editor.App.Tests
- ExecutedImportVixen.Editor.Assets
- HarnessPlanImporterTestsVixen.Editor.Assets.Tests
- ImportContextVixen.Editor.Assets
- ImportOutcomeVixen.Editor.Assets
- ImportResultVixen.Editor.Assets
- ImporterTestsVixen.Editor.Assets.Tests
- LooseContentVixen.Editor.Assets
- MaterialImporterTestsVixen.Editor.Assets.Tests
- ModelImporterTestsVixen.Editor.Assets.Tests
- MoveSetImporterTestsVixen.Editor.Assets.Tests
- NativeFormatImporterTestsVixen.Editor.Assets.Tests
- NavMeshImporterTestsVixen.Editor.Assets.Tests
- ProxyShapeImporterTestsVixen.Editor.Assets.Tests
- SceneImporterTestsVixen.Editor.Assets.Tests
- TerrainAssetImporterTestsVixen.Editor.Assets.Tests
- TextureImporterTestsVixen.Editor.Assets.Tests
- VideoImporterTestsVixen.Editor.Assets.Tests
- WorkerHostVixen.AssetCompiler