Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ErrorPolicy

The policy Unity uses when dedicated server command-line arguments are invalid.
Read time 1 minuteLast updated 6 days ago

Definition

public static Arguments.ArgumentErrorPolicy ErrorPolicy { get; set; }

Remarks

This is how Unity responds to unknown command-line arguments and invalid values for known arguments. The default value is configured in Dedicated Server Player settings. At startup, Unity might also set this property from the
-arg-error-policy
or
-aep
command-line flag. Valid values are
ignore
,
warn
, and
fatal
.
Additional Resources: Arguments.ArgumentErrorPolicy.