A method for Automatically validating Actors or Assets

  • Editor Validators are classes you create which allow code-based validation of any asset type. They can be created both in C++ and Blueprints.
  • Editor validators run by when you save assets (configurable from Project Settings), and also when running the Validate Assets action.
  • The engine will automatically discover any validators you have created, either blueprints or C++. However do note that if you create validators in C++ and you put them inside another module, you need to have the module’s LoadingPhase set to Default. Otherwise the validators will not be discovered correctly.

Usage example

See also