Identifying performance bottlenecks with the Unity performance Profiler

Optimization principal 4: Use performance data to drive design and coding decisions.

As well as following general asset and code design principals, which we know ought to lead to improved performance, we should be aware that each game is different and that, in reality, the only way to know which design decisions affect performance the most is to collect and analyze runtime performance data. While a raw Frames Per Second (FPS) measurement is useful, to choose between different decisions having detailed information about the processing requirements for rendering and code execution for each frame is invaluable.

The Unity 5 Profiler offers a detailed breakdown of code and rendering ...

Get Unity 5.x Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.