• Games
  • Industry
  • Resources
  • Community
  • Learning
  • Support
Development
Unity Engine
Build 2D and 3D games for any platform
DownloadPlans and pricing
Monetization
In-App Purchase (IAP)
Discover and manage IAP across stores
Mediation
Maximize revenue and optimize monetization
Ad Quality
Protect your app’s user experience
Tapjoy
Build long-term user loyalty
All monetization products
User acquisition
User acquisition
Get discovered and acquire mobile users
Unity Vector AI
Connect players with the right games
Aura on-device advertising
Reach users on-device at peak engagement
All growth products
Use cases
3D collaboration
Build and review 3D projects in real time
Immersive training
Train in immersive environments
Customer experiences
Create interactive 3D experiences
All industry solutions
Industries
Manufacturing
Achieve operational excellence
Retail
Transform in-store experiences into online ones
Automotive
Elevate innovation and in-car experiences
All industries
Technical library
Documentation
Official user manuals and API references
Developer tools
Release versions and issue tracker
Roadmap
Review upcoming features
Glossary
Library of technical terms
Insights
Case studies
Real-world success stories
Best practice guides
Expert tips and tricks
All resources
What's new
Blog
Updates, information, and technical tips
News
News, stories, and press center
Community Hub
Discussions
Discuss, problem-solve, and connect
Events
Global and local events
Community stories
Made with Unity
Showcasing Unity creators
Livestreams
Join devs, creators, and insiders
Unity Awards
Celebrating Unity creators worldwide
For every level
Unity Learn
Master Unity skills for free
Professional training
Level up your team with Unity trainers
New to Unity
Getting started
Kickstart your learning
Unity Essential Pathways
New to Unity? Start your journey
How-to Guides
Actionable tips and best practices
Education
For students
Kickstart your career
For educators
Supercharge your teaching
Education Grant License
Bring Unity’s power to your institution
Certifications
Prove your Unity mastery
Support options
Get help
Helping you succeed with Unity
Success plans
Reach your goals faster with expert support
FAQ
Answers to common questions
Contact us
Connect with our team
Plans and pricing
Language
  • English
  • Deutsch
  • 日本語
  • Français
  • Português
  • 中文
  • Español
  • Русский
  • 한국어
Social
Currency
Purchase
  • Products
  • Unity Ads
  • Subscription
  • Unity Asset Store
  • Resellers
Education
  • Students
  • Educators
  • Institutions
  • Certification
  • Learn
  • Skills Development Program
Download
  • Unity Hub
  • Download Archive
  • Beta Program
Unity Labs
  • Labs
  • Publications
Resources
  • Learn platform
  • Community
  • Documentation
  • Unity QA
  • FAQ
  • Services Status
  • Case Studies
  • Made with Unity
Unity
  • Our Company
  • Newsletter
  • Blog
  • Events
  • Careers
  • Help
  • Press
  • Partners
  • Investors
  • Affiliates
  • Security
  • Social Impact
  • Inclusion & Diversity
  • Contact us
Copyright © 2025 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell or Share My Personal Information

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Hero background image
Technical deep dive

Unity best practices

Access this series of how-to articles, e-books, and other resources – written for creators, by creators – with actionable tips and best practices to help you achieve more in less time.
  • New how-to pages
  • All how-to pages
  • New e-books
  • All e-books
  • More resources

New on this page

Collage of technical eBooks covers

Technical e-books

Check out the technical e-books section to access an entire library of in-depth guides, created together with engineers and technical artists, that can help you get the most out of Unity’s features and toolsets.
View all e-books
Banner

Sample project: Gem Hunter Match

Check out the official Unity cross-platform sample project that showcases the capabilities of 2D lighting and visual effects in the URP in Unity 2022 LTS.
View all sample projects

How-to pages by Unity features, tools, and solutions

  • 2D
  • Graphics & rendering
  • DevOps
  • C# programming in Unity
  • User Interface (UI)
  • Performance optimization
  • Art & Game design
  • Industry
  • Unity Gaming Services
  • Testing, debugging, and quality assurance

2D

  • How to use 2D lights in Unity to set the mood
  • Optimize performance of 2D games with Unity Tilemap

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

- The HDRP water system in Unity 2022 LTS

DevOps

- Best practices for version control

- Best practices for project organization

- How to implement a task branch DevOps workflow

C# programming in Unity

- 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

- How to use the Model-View-ViewModel pattern

- How to use the strategy pattern

- How to use the Flyweight pattern

- How to use the Dirty Flag pattern

- A guide on using the new AI Navigation package in Unity 2022 LTS and above

- Get started with the Unity ScriptableObjects demo

- Use ScriptableObject-based events with the observer pattern

- Use ScriptableObject-based enums in your Unity project

- Separate game data and logic in Unity with ScriptableObjects

- Use ScriptableObjects as delegate objects

- Use ScriptableObjects in Unity to hold dynamic data

User Interface (UI)

- Unity UI optimization tips

- How to create the next generation of automotive HMI with Unity

- The UI Toolkit sample project QuizU

- QuizU: State patterns for game flow

- QuizU: Managing menu screens in UI Toolkit

- QuizU: The Model View Presenter pattern

- QuizU: Event handling in UI Toolkit

- QuizU: UI Toolkit performance tips

- The Unity UI Toolkit Sample - Dragon Crashers mini manual

Performance optimization

- Tools for profiling and debugging

- Memory profiling in Unity

- 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

- Optimize your mobile game performance: Tips on profiling, memory, and code architecture from Unity’s top engineers

- 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

- Physics performance optimization best practices

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

- Animation Curves, the ultimate design lever

- Learn how to make 3D & 2D film animations

Industry

- Introduction to Asset Manager transfer methods in Unity

- Build a simple product configurator in Unity in one hour or less

- Creator Series | Data ingestion: Manage CAD, BIM and Point Cloud data

- Unlock CAD & Mesh Data with Unity Asset Transformer Studio

- Ingesting 3D data into Unity Industry with Unity Asset Transformer Toolkit

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

- What is an in-game economy

- Building an in-game economy

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

- How to debug game code with Roslyn Analyzers

- How to run automated tests for your games with the Unity Test Framework

- Speed up your debugging workflow with Microsoft Visual Studio Code

- How to debug your code with Microsoft Visual Studio 2022

- Testing and quality assurance tips for Unity projects

New e-books

Lighting and environments in the High Definition Render Pipeline (Unity 6 edition) e-book cover

Lighting and environments in the High Definition Render Pipeline in Unity 6

Download this e-book to learn about all the capabilities included in HDRP in Unity 6 and 6.1.

Read e-book
UI Toolkit for advanced Unity developers (Unity 6 edition) e-book cover

UI Toolkit for advanced Unity developers (Unity 6 edition)

Read this major new guide that focuses on UI Toolkit features, with sections covering Unity 6 capabilities like data binding, localization, custom controls, and much more.

Read e-book
Create modular game architecture in Unity with ScriptableObjects (Unity 6 edition) e-book cover

Create modular game architecture in Unity with ScriptableObjects (Unity 6 edition)

Read this e-book that assembles tips and tricks from professional developers for deploying ScriptableObjects in production.

Read e-book
Tips to increase productivity with Unity 6 e-book cover

Tips to increase productivity with Unity 6

This updated 100+ pages guide offers tips to speed up your workflows throughout every stage of game development, and it's useful whether you're just starting out or if you've been a Unity developer for years.

Read e-book

All technical e-books

  • Technical e-books for programmers
  • Technical e-books for artists and designers

Technical e-books for programmers

  • Create modular game architecture in Unity with ScriptableObjects (Unity 6 edition)
  • Tips to increase productivity with Unity 6
  • Ultimate guide to profiling Unity games (Unity 6 edition)
  • Introduction to DOTS concepts, features, & samples for advanced Unity developers (Unity 6 edition)
  • 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)
  • Unity gamedev field guide
  • 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)
  • 80+ tips to increase productivity in Unity 2022 LTS

Technical e-books for artists and designers

  • Lighting and environments in the High Definition Render Pipeline in Unity 6
  • UI Toolkit for advanced Unity developers (Unity 6 edition)
  • Create popular shaders and visual effects with the Universal Render Pipeline (Unity 6 edition)
  • 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

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.

Learn more
UI Toolkit

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.

Learn more
Gem Hunter Match

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.

Learn more

Sample projects

  • For artists and programmers

Sample projects for artists and programmers

- Dragon Crashers - URP 2D Sample Project

- Dragon Crashers - UI Toolkit Sample project

- QuizU - A UI toolkit sample

- Paddle Game ScriptableObjects sample project

- C# Code Style Guide

- Level up your code with design patterns and SOLID

- Happy Harvest - 2D Sample Project

- Gem Hunter Match - 2D Sample Project