Unity best practices
New on this page
- Getting started with the High Definition Render Pipeline
- Anti-aliasing, volumes, and exposure with the High Definition Render Pipeline
- Lights and shadows with HDRP
- Reflections and real-time lighting effects
- Post-processing and ray tracing with HDRP
- Introduction to the VFX Graph in Unity
- URP Project & Quality settings: Learn from the URP 3D Sample
- Tips to optimize JetBrains Rider: A cross-platform C# script editor for game developers
- 10 ways to speed up your programming workflows in Unity with Visual Studio 2019
- Understanding Unity’s serialization language, YAML
- Speed up your programmer workflows
- Formatting best practices for C# scripting in Unity
- Naming and code style tips for C# scripting in Unity
- Create modular and maintainable code with the observer pattern
- Develop a modular, flexible codebase with the state programming pattern
- Use object pooling to boost performance of C# scripts in Unity
- Build a modular codebase with MVC and MVP programming patterns
- How to use the factory pattern for object creation at runtime
- Use the command pattern for flexible and extensible game systems
- A guide on using the new AI Navigation package in Unity 2022 LTS and above
- Tools for profiling and debugging
- Performance profiling tips for game developers
- Optimize your mobile game performance: Expert tips on graphics and assets
- Optimize your mobile game performance: Get expert tips on physics, UI, and audio settings
- Helpful tips on advanced profiling
- Profiling in Unity 2021 LTS: What, when, and how
- Performance optimization for high-end graphics
- Managing GPU usage for PC and console games
- Performance optimization: Project configuration and assets
- Tips for performance optimization in Unity: Programming and code architecture
- How to troubleshoot imported animations in Unity
- Tips for building animator controllers in Unity
- Mobile optimization tips for technical artists – Part I
- Mobile optimization tips for technical artists – Part II
- Systems that create ecosystems: Emergent game design
- Unpredictably fun: The value of randomization in game design
Game development
- The eight factors of multiplayer game development
- How to manage network latency in multiplayer games
- Nine use cases for Unity’s Game Backend tools
Player engagement
- Improve retention at every stage of the player lifecycle
- How to apply A/B testing to games
Unity Ads
- How to monetize effectively and sustainably in mobile games
New e-books
This guide provides specific instructions on how to use the VFX Graph and its related tools to build real-time visual effects in Unity 6.
Get in-depth guidance on how to set up URP for a new project, work with URP Quality Settings, Adaptive Probe Volumes, URP and custom shaders, HLSL includes, and much more.
This e-book explores the core concepts of Unity multiplayer, different multiplayer systems and networking models, and covers an example of using Netcode for GameObjects.
Hardware continues to evolve, and your game’s optimization plays a key role in shaping the player experience. This guide brings together all the best and latest mobile, XR, and Unity Web performance optimization tips for Unity 6.
- The ultimate guide to multiplayer networking for advanced Unity developers
- Optimize your game performance for mobile, XR, and the web in Unity (Unity 6)
- Optimize your game performance for consoles and PCs in Unity (Unity 6)
- Best practices for project organization and version control (Unity 6)
- Introduction to DOTS for advanced Unity developers
- Ultimate guide to profiling Unity games
- Create a C# code style guide
- Optimize your game performance for mobile (Unity 2020 LTS)
- Optimize your console and PC game performance
- Increase productivity with Unity 2020 LTS
- Version control and project organization best practices for game developers
- Level up your programming with game programming patterns
- Level up your code with design patterns and SOLID
- Create modular game architecture in Unity with ScriptableObjects
- Optimize your mobile game performance (Unity 2022 LTS)
- Optimize your console and PC game performance (Unity 2022 LTS)
- The definitive guide to creating advanced visual effects in Unity (Unity 6 edition)
- Introduction to the Universal Render Pipeline for advanced Unity creators (Unity 6)
- The definitive guide to animation in Unity
- Create virtual and mixed reality experiences in Unity
- Lighting and environments in the High Definition Render Pipeline (Unity 2022 LTS)
- Introduction to the Universal Render Pipeline for advanced Unity creators (Unity 2022 LTS)
- Introduction to game level design in Unity
- Recipes for popular visual effects using the Universal Render Pipeline
- User interface design and implementation in Unity
- The definitive guide to creating advanced visual effects in Unity
- The definitive guide to lighting in the High Definition Render Pipeline (HDRP) Unity 2021 LTS
- The definitive guide to lighting in the High Definition Render Pipeline (HDRP) Unity 2020 LTS
- 2D game art, animation, and lighting for artists
- Introduction to the Universal Render Pipeline for advanced Unity creators
- The Unity game designer playbook
- Unity for technical artists: Key toolsets and workflows (Unity 2020 LTS edition)
- Unity for technical artists: Key toolsets and workflows (Unity 2021 LTS edition)
New sample projects
This official UI Toolkit project provides game interfaces that showcase UI Toolkit and UI Builder workflows for runtime games. Explore this project with its companion e-book for more great tips.
QuizU is an official Unity sample demonstrating various design patterns and project architecture including MVP, state pattern, managing menu screens and much more using UI Toolkit.
Gem Hunter Match is an official Unity cross-platform sample project that showcases the capabilities of 2D lighting and visual effects in the Universal Render Pipeline (URP) in Unity 2022 LTS.