TGViewer
Everyday Unity Everyday Unity @everydayunity · 1.19K subscribers
Post #2521 825
Use all of Unity 6's profiling tools in the smartest and most efficient way (Part 2)

Project Auditor
Project Auditor scans your entire project and provides detailed reports about inefficiencies, such as heavy scripting calls, unused assets, excessive entity counts, and more.

The Project Auditor covers several different areas:
- Performance optimization: It identifies problems that could impact your project’s runtime performance, such as excessive garbage generation, unnecessary object allocations, or expensive function calls.

- Code and asset review: It highlights unused assets, inefficient code patterns, or outdated APIs that can be refactored. This helps reduce build size, improve overall project maintainability, and optimize memory use.

- Diagnostics and best practices: It provides recommendations based on Unity best practices and highlights errors or warnings related to your project setup, such as missing references or suboptimal Player and Quality settings.

- Customizable reports: It organizes the results into categories, making it easy to prioritize optimizations. You can also create custom rules to tailor the analysis to your specific project or needs.

Deep Profiling
I still see a lot of misunderstanding about how deep profiling works. Luckily, the book highlights it once again:
"Enabling Deep Profiling will result in the insertion of Profiler markers at the beginning and end of each function call."


And a very important point following from this:
"However, deep profiling adds a marker to the start and end of every function call, and each marker adds some overhead. This means that a part of your code which has a deep call stack (say MyDeepFunction) will show up as more expensive than places which do all their work inside a single function (MySingleFunction). That means you cannot rely on the relative timing of these two pieces of code – MyDeepFunction might look more expensive than MySingleFunction with deep profiling enabled, but this cost could all be in the extra markers added."


https://unity.com/blog/use-unity-6-profiling-tools-smart-efficient

#profiling #performance #optimization
Unity How to Use Profiling Tools in Unity 6 Efficiently | Unity Get actionable advice on how to profile an application, manage its memory, and optimize its power consumption from start to finish in Unity 6.
  • 🔥 8
  • 👍 2
More from @everydayunity
  1. Sep 24, 2026Now you can change the effort mid session in new Claude. So the advice about caching from…
  2. Sep 24, 2026We were wondering in the comments what Claude reset does. Here is the answer https://www.r…
  3. Sep 22, 2026Introducing GPT‑6 Sol and Luna And better & cheaper sol and luna as an immediate response…
  4. Sep 22, 2026Introducing Claude Opus 5.5 \ Anthropic Cost and speed. Opus 5.5 requires less compute to…
  5. Sep 21, 2026Claude Code effort level and model selection effort means more than just "thinking time."…
  6. Sep 19, 2026Netcode for GameObjects 3.0.0 is now available It is preparation for Unity’s shared Netcod…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →