StrictMode
Prevent the build from succeeding if any errors are reported during the build process.
阅读时间1 分钟最后更新于 2 个月前
Definition
- Type: Field
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
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.