unreal.PackageFileValidator¶
- class unreal.PackageFileValidator(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
EditorValidatorBaseThis validator checks the format of the package on disk to make sure that is has not become corrupted since it was last saved.
To disable the validator entirely, set ini:Editor:[/Script/DataValidation.PackageFileValidator]:bIsConfigDisabled=true To disable validation of payload hashes (which is much slower than the rest of the validation) set ini:Editor:[/Script/DataValidation.PackageFileValidator]:bValidatePayloadHashes=true
C++ Source:
Plugin: DataValidation
Module: DataValidation
File: PackageFileValidator.h
Editor Properties: (see get_editor_property/set_editor_property)
is_enabled(bool): [Read-Write]only_print_custom_message(bool): [Read-Write] Whether we should also print out the source validator when printing validation errors.