如何在文本编辑器上查看 Unity 控制台?
How to view Unity Console on a Text Editor?
我无法在 Unity 上构建我的 Vive 应用程序。在开始构建的几秒钟内,它只是挂起并冻结了 Unity,让我别无选择,只能关闭并重新启动它。控制台日志中没有任何内容可以帮助我解决问题。当我在文本编辑器上单独进行构建时,我希望看到控制台 运行 以了解发生了什么。感谢您的帮助。
您可以找到 Unity 官方文档中描述的日志文件 here
构建信息在编辑器日志文件中。
您不仅需要日志,还需要分析器来帮助您识别和解决问题。
The Unity Profiler Window helps you to optimize your game. It reports for you how much time is spent in the various areas of your game. For example, it can report the percentage of time spent rendering, animating or in your game logic.
You can analyze the performance of the GPU, CPU, memory, rendering, and audio.
To see the profiling data, you play your game in the Editor with Profiling on, and it records performance data. The Profiler window then displays the data in a timeline, so you can see the frames or areas that spike (take more time) than others. By clicking anywhere in the timeline, the bottom section of the Profiler window will display detailed information for the selected frame.
我无法在 Unity 上构建我的 Vive 应用程序。在开始构建的几秒钟内,它只是挂起并冻结了 Unity,让我别无选择,只能关闭并重新启动它。控制台日志中没有任何内容可以帮助我解决问题。当我在文本编辑器上单独进行构建时,我希望看到控制台 运行 以了解发生了什么。感谢您的帮助。
您可以找到 Unity 官方文档中描述的日志文件 here
构建信息在编辑器日志文件中。
您不仅需要日志,还需要分析器来帮助您识别和解决问题。
The Unity Profiler Window helps you to optimize your game. It reports for you how much time is spent in the various areas of your game. For example, it can report the percentage of time spent rendering, animating or in your game logic.
You can analyze the performance of the GPU, CPU, memory, rendering, and audio.
To see the profiling data, you play your game in the Editor with Profiling on, and it records performance data. The Profiler window then displays the data in a timeline, so you can see the frames or areas that spike (take more time) than others. By clicking anywhere in the timeline, the bottom section of the Profiler window will display detailed information for the selected frame.