![Hero background image](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Ffuvbjjlp%2Fproduction%2F043d14107f849e87f7db087939558abcc56637f8-2050x1000.jpg&w=3840&q=100)
Unity best practices
New on this page
![Collage of technical eBooks covers](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Ffuvbjjlp%2Fproduction%2Fc5074c06f0b5a702c80d043906ba7d7e1ec6f85b-2960x1664.png&w=3840&q=100)
Technical e-books
![Banner](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Ffuvbjjlp%2Fproduction%2Fc0d8861725fbb7bcc6f8c63b115703115ff1aa9b-1920x1080.jpg&w=3840&q=100)
Sample project: Gem Hunter Match
2D
Graphics & rendering
- 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
DevOps
C# programming in Unity
- 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
User Interface (UI)
Performance optimization
- 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
Art & game design
- 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
Data Preparation with Pixyz
Unity Gaming Services
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
Testing, debugging, and quality assurance
New e-books
![Sakura Rabbit](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Ffuvbjjlp%2Fproduction%2F4fb61099fb8b7c26254d9dfd5994ce58f3d2335f-810x456.jpg&w=3840&q=100)
The definitive guide to creating advanced VFX (Unity 6)
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.
![Fantasy Kingdom still](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Ffuvbjjlp%2Fproduction%2F71b9ef6a7a6a35af1447f8743881496fe35684fe-2532x1170.png&w=3840&q=100)
Introduction to the URP (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.
![Multiplayer Networking](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Ffuvbjjlp%2Fproduction%2Fddba7fdad01ce62ebf41660b0614ccc6d4a7fa14-1950x1097.jpg&w=3840&q=100)
The ultimate guide to multiplayer networking for advanced Unity developers
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.
![Person wearing headphones staring at computer screen](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Ffuvbjjlp%2Fproduction%2F7126571d9f1b17a46f59c9d74514926f3e058430-1200x675.jpg&w=3840&q=100)
Use a C# style guide for clean and scalable game code (Unity 6 edition)
Technical e-books for programmers
- Use a C# style guide for clean and scalable game code (Unity 6 edition)
- 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)
Technical e-books for artists and designers
- 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
![UI Sample](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Ffuvbjjlp%2Fproduction%2F057c7a70fef0acf510d18e62f044b57fcd5f11de-810x456.jpg&w=3840&q=100)
Dragon Crashers - UI Toolkit Sample project
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.
![UI Toolkit](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Ffuvbjjlp%2Fproduction%2Fc98e17bab1579f7a997e997ea055cfd5fa4ea269-810x454.jpg&w=3840&q=100)
QuizU - A UI toolkit sample
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](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2Ffuvbjjlp%2Fproduction%2F211f98e3be1595249941adb3e989828fc4fce381-810x456.jpg&w=3840&q=100)
Gem Hunter Match - 2D Sample Project
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.