文档

Unity Engine

Unity Engine

StrictMode

Prevent the build from succeeding if any errors are reported during the build process.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor
StrictMode = 2097152

Remarks

Without this flag, non-fatal errors, such as shader compilation issues on a particular platform, won't cause the build to fail, but might lead to incorrect behavior at runtime.