Version: 2020.3
高级选项
导出前和导出后方法

开发版

Unity Cloud Build builds your projects for release by default. To create a development build, go to the build target’s Advanced Options and check the Development Builds box.

Edit Advanced Options 屏幕
Edit Advanced Options 屏幕

When the Development Builds box is enabled, this sets two flags in the BuildOptions API:

*Development:开发版包含调试符号并启用性能分析器 (Profiler)。

  • AllowDebugging:允许脚本调试器远程连接到播放器。

Note that to profile a web player build, you need to have the development version of the web player installed. You can only profile the .unity3d file when the development web player build is active. For more information on profiling your development build, see Profiler window.

高级选项
导出前和导出后方法