Asset Validator

OmniShade

(0)
$39
Publisher OmniShade
File size 8.21MB
Number of files 88
Latest version 1.0.0
Latest release date 2024-02-14 06:56:15
First release date 2024-02-14 06:56:15
Supported Unity versions 2018.4.2 or higher

Discord Support | Forum | Email


Asset Validator is an editor tool which checks all assets and scenes in a project, ensuring correct and optimal configuration of prefab components, materials, textures, audio clips, scriptable objects, and more. It does this through a powerful validation framework that is fully customizable, and also integrates as a unit test into continuous integration tools such as Jenkins.


Asset validation is an important part of any project, but particularly as one grows in assets and team size. Automatically ensuring proper configuration not only saves time debugging issues, but also often leads to major savings in runtime memory, load times, and build size.


Included are pre-written validators to check for missing components, duplicate components, large textures, or assets marked Read/Write when they shouldn't be; these are easily over-ridable and customizable. In addition, this package also adds helpful C# attributes such as [Required] to ensure a field is assigned a non-empty value, and [ResourcePath] to ensure a field is a string or object of an asset in a Resources folder, facilitating Unity best practices.


The validators in this package can be categorized as 3 kinds:

  • Asset validators - For validating any asset type such as materials, textures, audio clips, or scriptable objects.
  • Component validators - For validating components on prefabs or objects within scenes.
  • Field validators - For validating component fields such as the above-mentioned [Required] and [ResourcePath] attributes. These are also conveniently validated in real-time in the Inspector, rendering the field in red if there is an error.

Please see Technical Details below for the full list of included validators.


Included is a demo project which shows how to customize your own validators for textures, atlases, materials, audio clips, models, components, and scriptable objects. But please note that some C# coding is necessary to write your own custom validators to make the most of this package. The package provides a solid, battle-tested validation framework and UI, but with only sparsely filled base validators in order to be generally useful for any project.


Included is also a unit test that runs the entire asset validation, which you may integrate as part of your CI build process to ensure all assets and scenes are checked automatically.


Stop talking about Unity best practices, and make them a part of your development process!


Discord Support | Forum | Email

Top Publisher Assets