Hi,
After recently upgrading from 5.4.4 to 5.5.4, we noticed that, by default, validation warnings are now being treated as errors. We found a [similar post from last [Content removed] acknowledging a new settings flag introduced in June 2024 that now controls this behavior. However, this setting is currently only exposed to native entry points that execute validation. For example, running the “Validate Changelist” command inside of the View Changes window will execute UEditorValidatorSubsystem::ValidateChangelistPreSubmit() with the following settings:
`// Create temporary changelist object to do most of the heavy lifting
UDataValidationChangelist* Changelist = NewObject();
Changelist->Initialize(InChangelist);
FValidateAssetsSettings Settings;
Settings.ValidationUsecase = EDataValidationUsecase::PreSubmit;
Settings.bLoadAssetsForValidation = GetDefault()->bLoadAssetsWhenValidatingChangelists;
Settings.MessageLogPageTitle = FText::Format(LOCTEXT(“MessageLogPageTitle.ValidateChangelist”, “Changelist Validation: {0}”), FText::FromString(InChangelist->GetIdentifier()));
FValidateAssetsResults Results;
OutResult = ValidateChangelist(Changelist, Settings, Results);`
Since FValidateAssetsSettings::bCaptureWarningsDuringValidationAsErrors defaults to “true”, any warnings logged during changelist pre-submission checks will result in a failure. We’d like to know if there is an option to control this behavior outside of this subsystem, or a best practice to suppress treating specific validation warnings as errors.