Unity 5 Game Optimization

Master performance optimization for Unity3D applications with tips and techniques that cover every aspect of the Unity3D Engine
Preview in Mapt

Unity 5 Game Optimization

Chris Dickinson

1 customer reviews
Master performance optimization for Unity3D applications with tips and techniques that cover every aspect of the Unity3D Engine

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Unity 5 Game Optimization Book Cover
Unity 5 Game Optimization
$ 35.99
$ 25.20
Unity 5.x By Example Book Cover
Unity 5.x By Example
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $40.98
Add to Cart

Book Details

ISBN 139781785884580
Paperback296 pages

Book Description

Competition within the gaming industry has become significantly fiercer in recent years with the adoption of game development frameworks such as Unity3D. Through its massive feature-set and ease-of-use, Unity helps put some of the best processing and rendering technology in the hands of hobbyists and professionals alike. This has led to an enormous explosion of talent, which has made it critical to ensure our games stand out from the crowd through a high level of quality. A good user experience is essential to create a solid product that our users will enjoy for many years to come.

Nothing turns gamers away from a game faster than a poor user-experience. Input latency, slow rendering, broken physics, stutters, freezes, and crashes are among a gamer’s worst nightmares and it’s up to us as game developers to ensure this never happens. High performance does not need to be limited to games with the biggest teams and budgets.

Initially, you will explore the major features of the Unity3D Engine from top to bottom, investigating a multitude of ways we can improve application performance starting with the detection and analysis of bottlenecks. You’ll then gain an understanding of possible solutions and how to implement them. You will then learn everything you need to know about where performance bottlenecks can be found, why they happen, and how to work around them.

This book gathers a massive wealth of knowledge together in one place, saving many hours of research and can be used as a quick reference to solve specific issues that arise during product development.

Table of Contents

Chapter 1: Detecting Performance Issues
The Unity Profiler
Best approaches to performance analysis
Targeted profiling of code segments
Saving and loading Profiler data
Final thoughts on Profiling and Analysis
Summary
Chapter 2: Scripting Strategies
Cache Component references
Obtaining Components using the fastest method
Removing empty callback declarations
Avoiding the Find() and SendMessage() methods at runtime
Disabling unused scripts and objects
Consider using distance-squared over distance
Avoid retrieving string properties from GameObjects
Update, Coroutines, and InvokeRepeating
Consider caching Transform changes
Faster GameObject null reference checks
Summary
Chapter 3: The Benefits of Batching
Draw Calls
Materials and Shaders
Dynamic Batching
Static Batching
Summary
Chapter 4: Kickstart Your Art
Audio
Texture files
Mesh and animation files
Summary
Chapter 5: Faster Physics
Physics Engine internals
Physics performance optimizations
Summary
Chapter 6: Dynamic Graphics
Profiling rendering issues
Front end bottlenecks
Back end bottlenecks
Lighting and Shadowing
Optimizing graphics for mobile
Summary
Chapter 7: Masterful Memory Management
The Mono platform
Memory usage optimization
Prefab pooling
The future of Mono and Unity
Summary
Chapter 8: Tactical Tips and Tricks
Editor hotkey tips
Editor interface tips
Scripting tips
Custom editors/menus tips
External tips
Summary

What You Will Learn

  • Use the Unity Profiler to find bottlenecks anywhere in our application, and discover how to resolve them
  • Implement best-practices for C# scripting to avoid common pitfalls
  • Develop a solid understanding of the rendering pipeline, and maximize its performance through reducing draw calls and avoiding fill rate bottlenecks
  • Enhance shaders in a way that is accessible to most developers, optimizing them through subtle yet effective performance tweaks
  • Keep our scenes as dynamic as possible by making the most of the Physics engine
  • Organize, filter, and compress our art assets to maximize performance while maintaining high quality
  • Pull back the veil on the Mono Framework and the C# Language to implement low-level enhancements that maximize memory usage and avoid garbage collection
  • Get to know the best practices for project organization to save time through an improved workflow

Authors

Table of Contents

Chapter 1: Detecting Performance Issues
The Unity Profiler
Best approaches to performance analysis
Targeted profiling of code segments
Saving and loading Profiler data
Final thoughts on Profiling and Analysis
Summary
Chapter 2: Scripting Strategies
Cache Component references
Obtaining Components using the fastest method
Removing empty callback declarations
Avoiding the Find() and SendMessage() methods at runtime
Disabling unused scripts and objects
Consider using distance-squared over distance
Avoid retrieving string properties from GameObjects
Update, Coroutines, and InvokeRepeating
Consider caching Transform changes
Faster GameObject null reference checks
Summary
Chapter 3: The Benefits of Batching
Draw Calls
Materials and Shaders
Dynamic Batching
Static Batching
Summary
Chapter 4: Kickstart Your Art
Audio
Texture files
Mesh and animation files
Summary
Chapter 5: Faster Physics
Physics Engine internals
Physics performance optimizations
Summary
Chapter 6: Dynamic Graphics
Profiling rendering issues
Front end bottlenecks
Back end bottlenecks
Lighting and Shadowing
Optimizing graphics for mobile
Summary
Chapter 7: Masterful Memory Management
The Mono platform
Memory usage optimization
Prefab pooling
The future of Mono and Unity
Summary
Chapter 8: Tactical Tips and Tricks
Editor hotkey tips
Editor interface tips
Scripting tips
Custom editors/menus tips
External tips
Summary

Book Details

ISBN 139781785884580
Paperback296 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Unity 5.x By Example Book Cover
Unity 5.x By Example
$ 39.99
$ 28.00
Unity Character Animation with Mecanim Book Cover
Unity Character Animation with Mecanim
$ 39.99
$ 28.00
Unity UI Cookbook Book Cover
Unity UI Cookbook
$ 39.99
$ 28.00
Mastering Unity 2D Game Development - Second Edition Book Cover
Mastering Unity 2D Game Development - Second Edition
$ 43.99
$ 30.80
Procedural Content Generation for C++ Game Development Book Cover
Procedural Content Generation for C++ Game Development
$ 39.99
$ 28.00
Gamification with Unity 5.x Book Cover
Gamification with Unity 5.x
$ 35.99
$ 25.20