Asset Validator
A downloadable tool
The Asset Validator is an open-source editor tool for validating assets in the project and in scenes. Its released on GitHub here under the MIT license.
DEDICATED EDITOR WINDOW
The Asset Validator comes with its own dedicated Editor Window that offers an efficient, straightforward way to configure, run, and see the results of validation. Validation results can be grouped by the type of validator or area of validation (scene, project, or misc).
PING VALIDATION TARGETS IN THE PROJECT OR SCENE
When objects have been identified with validation issues either in a scene or project, it is easy to identify them! By using the Asset Validator editor window, you can easily navigate to where these objects reside and ping them, making them pop out in the Unity Editor. This way when there are validation issues, it is easy to identify, find, and fix them.
DIFFERENT TYPES OF VALIDATORS
There are different types of validators to help cover every use-case and included with the Asset Validator are several examples of each.
- ObjectValidators target either a derived class of MonoBehaviour or ScriptableObject decorated with a target Attribute and validates that type when found in Scenes or on Prefabs in the Project folder.
- FieldValidators validate specific, decorate fields using a target Attribute on derived classes of MonoBehaviourand/or ScriptableObject.
- CrossSceneValidators aggregate information across a set of scenes and validate based on the results.
- ProjectValidators are run once per validation run when targeting project assets; an example of this includes the ResourcePathProjectValidator which attempts to make sure files exist at all resource paths returned by all ResourcePathContracts found in the project.
CONTINUOUS INTEGRATION
The Asset Validator has out of the box support for running in a Continuous Integration scenario as a Unit Test and can be configured to fail the test or not and/or write a plaintext, CSV, or HTML log of the results. This means you can be validating your project in an automated fashion that fits your needs.
FULLY OPEN-SOURCE
The full source code for the Asset Validator is available on GitHub underneath the MIT license, allowing for non-commercial and commercial project usage. If you develop and ship a game using the Asset Validator, please let me know and I'll feature your game!
PUBLIC ROADMAP
There is a public roadmap for the Asset Validator on Trello found here; I try to take as much feedback on this tool via Twitter, GitHub, etc... and turn it into actionable backlog items. View the board and vote on features to influence development; likely the most voted on features will get priority over others.
Status | Released |
Category | Tool |
Author | Jeff Campbell |
Average session | A few seconds |
Languages | English |
Download
Click download now to get access to the following files:
Development log
- Released v1.1 Asset ValidatorMar 06, 2019