Debugging & testing
Finding and preventing bugs: debug drawing, the Profiler and Frame Debugger, logging, unit tests, play mode tests and automated checks. These guides help you track down problems faster and catch regressions before players do. 23 hand-picked Unity guides, tutorials, videos and repos, kept current.
- My Unity Singletons Are Finally Testable
Makes Unity singletons testable by replacing hard-wired access with swappable, injectable dependencies.
youtube.com · Jun 2026 - You're Using Debug.Log Wrong in Unity
Uses Unity's logging attributes and APIs to tag, filter and organize logs beyond plain Debug.Log.
youtube.com · May 2026 - Unity Performance Testing Framework: Code Benchmarking
Uses the Unity Performance Testing Framework to benchmark code and measure performance changes.
youtube.com · Nov 2025 - Benchmark Any C# Code Like a Pro
Shows how to benchmark C# code reliably, avoiding common measurement mistakes.
youtube.com · Nov 2025 - Unity Game Optimization: Profile, Find Bottlenecks & Fix Performance
Teaches profiling a Unity game, finding bottlenecks and applying optimization fixes.
youtube.com · Oct 2025 - GPU Reality Check - Radeon GPU Profiler for Unity Pipelines
Uses Radeon GPU Profiler to tell CPU-bound from GPU-bound work and inspect pipeline state changes in Unity.
thegamedev.guru · Oct 2025 - Player‑Side Smoothness in Unity: CapFrameX + PresentMon Percentiles & Overlays
Measures player-side smoothness in Unity using CapFrameX and PresentMon percentiles and overlays.
thegamedev.guru · Oct 2025 - Superluminal for Unity , Fast Hot‑Path Hunting with Filters & Histograms
Uses Superluminal's filters and histograms to find hot paths in Unity scripts.
thegamedev.guru · Oct 2025 - Sampling vs Instrumentation in Unity , Field Ops with Very Sleepy
Compares sampling and instrumentation profilers and uses Very Sleepy to find hot paths in builds.
thegamedev.guru · Oct 2025 - Testing Unity: Unit & Integration Tests Explained
Explains unit and integration testing in Unity with practical setup and test examples.
youtube.com · Oct 2025 - Unit Testing in Unity: Everything You Need to Know
Introduces unit testing in Unity: test frameworks, writing tests and structuring testable code.
youtube.com · Oct 2025 - Tips on Editor workflows, debugging, and 2D best practices in Unity 6
Unity 6 Editor workflow, debugging and 2D tips for saving time throughout development.
unity.com · Jul 2025 - How to Use Profiling Tools in Unity 6 Efficiently
Step-by-step guidance for profiling a Unity 6 game, managing memory and trimming power consumption.
unity.com · Jul 2025 - Ultimate Guide to Profiling Unity 6 Games
Unity 6 profiling toolset guide: Profiler, memory analysis and finding bottlenecks across platforms.
unity.com · Jul 2025 - The Game Kitchen on 3 technical challenges making The Stone of Madness
Three technical challenges in custom rendering, UI and testing while building a 2.5D adventure.
unity.com · Mar 2025 - Profiling the Unity Beast: Sampling vs Instrumentation
Compares sampling and instrumentation profiling to diagnose lag in Unity games.
thegamedev.guru · Jan 2025 - Master Class: Being a Tech Art Detective
Master class on investigating rendering issues as a technical artist.
youtube.com · Sep 2024 - Unity shader .cginc to draw numbers in the fragment shader (gist)
Repo: gist with a Unity shader include that draws numbers in the fragment shader for debugging.
gist.github.com · Aug 2024 - Debug-printing a view matrix from the GPU inside a shader
Post showing how to debug-print a view matrix from the GPU inside a shader.
mastodon.social · Aug 2024 - Learn How to Enhance Your Unity App's Performance With Memory Profiler
Presentation from Unity on using the Memory Profiler to find and fix memory-related performance problems.
80.lv · Feb 2024 - Seeded Random for Debugging
Making randomness reproducible for testing. Using seeded RNG to create deterministic gameplay that's easy to debug and test.
bartouv.github.io · Jan 2023 - Readable & Debuggable Multi-Condition Game Code
Coding patterns for writing readable, debuggable multi-condition game logic.
allenchou.net · Jul 2018 - Safe Scope-Based Instrumented Profiler
Builds a safe, scope-based instrumented profiler.
allenchou.net · Oct 2014