Unity Sentinel

Advanced Code Analysis & Performance Optimization for Unity Developers

Catch runtime errors before they happen, optimize performance automatically, and visualize your project architecture with AI-powered analysis.

Get Unity Sentinel - $1.99

Powerful Features That Save You Hours

🔍

Null Reference Prediction

Detect potential NullReferenceException before runtime using advanced flow analysis. Identifies unassigned SerializeField variables and unsafe GetComponent() calls.

Performance Analysis

Automatically detects expensive operations in Update loops including GetComponent(), GameObject.Find(), SendMessage(), and Camera.main access patterns.

🗑️

Garbage Collection Detection

Finds string concatenation, boxing allocations, LINQ queries, and array allocations in hot paths that create unnecessary garbage.

🤖

AI-Powered Error Explainer

Automatically captures Unity errors and provides plain-language explanations with actionable fix suggestions using GPT-4 integration.

🔧

Automatic Code Fixes

One-click fixes for common issues. Cache components automatically, convert tag comparisons, and insert null checks with Ctrl+. or Alt+Enter.

📊

Architecture Visualizer

Interactive graph visualization of asset dependencies, scene references, and UnityEvent connections throughout your entire project.

Advanced Roslyn Code Analyzers

US000x Series

Null Reference Prediction

  • • US0001: Potential NullReferenceException detection
  • • US0002: Unassigned SerializeField warnings
  • • US0003: Unsafe GetComponent() calls
  • • Flow analysis through code paths

US01xx Series

Performance Analysis

  • • US0100: GetComponent() in Update loops
  • • US0101: GameObject.Find() detection
  • • US0102: SendMessage() usage warnings
  • • US0103: Camera.main access patterns

US02xx Series

Garbage Collection

  • • US0200: String concatenation in hot paths
  • • US0201: Boxing allocation detection
  • • US0202: LINQ query warnings
  • • US0203: Array allocation tracking

Scene Auditor & Project Analysis

UI Analysis

Comprehensive raycast target detection that identifies UI elements with unnecessary raycast targets enabled, helping you optimize UI performance.

  • • Full GameObject hierarchy paths
  • • Performance impact assessment
  • • Interactive element identification

Physics Analysis

Interactive collision matrix visualizer with color-coded 32x32 grid showing layer interactions and collision relationships.

  • • Read-only matrix view
  • • Interactive tooltips
  • • Visual collision mapping

Project Asset Analysis

Uncompressed Texture Detection

Scans your entire project for uncompressed textures that should be optimized, showing memory impact and file paths.

Model Read/Write Flag Detection

Identifies 3D models with Read/Write enabled that unnecessarily consume extra memory with optimization suggestions.

Full IDE Integration

Visual Studio Support

  • ✅ Full IntelliSense integration
  • ✅ Real-time squiggles and warnings
  • ✅ Code fixes via Ctrl+.
  • ✅ Configurable severity levels
  • ✅ Error List integration
  • ✅ Fast incremental analysis

JetBrains Rider Support

  • ✅ Complete inspection system
  • ✅ Quick fixes via Alt+Enter
  • ✅ Configurable inspection severity
  • ✅ Problems panel integration
  • ✅ Solution-wide analysis

Flexible Configuration & Customization

.editorconfig Support

Adjust rule severity per diagnostic ID with project-wide or file-specific settings.

  • • Disable specific warnings
  • • Convert warnings to errors
  • • Custom severity levels

Severity Levels

  • error: Red squiggle, breaks build
  • warning: Yellow squiggle
  • suggestion: Dotted underline
  • none: Disabled

#pragma Support

Suppress specific warnings in code with per-line or per-section suppression.

  • • Documented suppressions
  • • Flexible control

Lightweight & Fast Performance

<100ms

Analysis Speed

Typical analysis per file with incremental compilation

0%

Runtime Impact

Zero performance impact on your game at runtime

  • • Incremental compilation - only analyzes changed code
  • • Concurrent execution enabled for faster processing
  • • Background compilation keeps you productive
  • • Optimized for large Unity projects

Complete Developer Toolkit

Build Scripts & Verification

Automated build scripts for Windows and macOS/Linux with NuGet package management and DLL compilation.

  • • BuildAnalyzer.bat for Windows
  • • BuildAnalyzer.sh for macOS/Linux
  • • VerifySetup.bat for installation checks

Comprehensive Documentation

  • QUICKSTART.md: 5-minute setup guide
  • README.md: Complete feature documentation
  • USAGE_GUIDE.md: Before/after code examples
  • SETUP.md: Installation troubleshooting
  • PROJECT_SUMMARY.md: Technical overview

Start Building Better Unity Projects Today

Catch errors before runtime, optimize performance automatically, and visualize your architecture with Unity Sentinel.

Get Unity Sentinel for $1.99

160 KB download • Instant access • Compatible with Visual Studio & Rider