canvas-performance

Optimize Unity UGUI Canvas and UI Toolkit runtime performance.

71|11|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/nlelouche/Unity-SkillForge --skill canvas-performance-nlelouche
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: canvas-performance
Source: https://github.com/nlelouche/Unity-SkillForge/tree/main/.agent/skills/05-ui-ux/canvas-performance
Command: npx skills add https://github.com/nlelouche/Unity-SkillForge --skill canvas-performance-nlelouche

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses UI performance bottlenecks in Unity, ensuring smoother frame rates and a better user experience, especially on resource-constrained platforms.

Core Features & Use Cases

  • Canvas Optimization: Techniques for UGUI Canvas, including splitting canvases and disabling unnecessary raycasts.
  • UI Toolkit Performance: Strategies for optimizing UI Toolkit elements and hierarchies.
  • Profiling Guidance: Tips on using Unity's profiling tools to identify and fix UI-related issues.
  • Use Case: When your game's UI causes noticeable frame drops, especially during complex scenes or on mobile devices, this skill provides actionable steps to diagnose and resolve the performance issues.

Quick Start

Optimize my HUD canvas by splitting dynamic and static elements.

Frequently Asked Questions about canvas-performance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize Unity UI performance when experiencing frame drops?

To optimize Unity UI performance, split dynamic and static elements into separate Canvases, disable unnecessary raycast targets, and use object pooling to reduce overhead, effectively resolving frame drops caused by batch breaking and dirty rebinding.

What causes batch breaking in Unity UGUI and how do I fix it?

Batch breaking in UGUI is caused by disorganized Canvas hierarchies and unnecessary raycast targets. Fix it by splitting Canvases and disabling raycast targets on non-interactive elements to minimize draw calls and dirty rebinding overhead.

Does this UI optimization Skill work with Unity UI Toolkit?

Yes, this Skill supports UI Toolkit by leveraging its built-in virtualization for efficient scrolling lists and providing specific strategies to optimize element hierarchies and reduce runtime memory usage.

Do I need Unity 6.0 to use these UI Toolkit optimization strategies?

Yes, you need Unity version 6.0 or higher to implement these UI Toolkit optimization strategies and runtime environment techniques for resolving batch breaking and memory usage issues.

How do I use Unity profiling tools to find UI performance bottlenecks?

Use Unity's profiling tools to identify UI performance bottlenecks like dirty rebinding and object overhead, then apply actionable steps such as splitting Canvases or leveraging UI Toolkit virtualization to resolve frame drops.

What's the best way to optimize scrolling lists in Unity UI Toolkit?

The best way to optimize scrolling lists in UI Toolkit is leveraging built-in virtualization to limit active elements, alongside strategies for optimizing element hierarchies to reduce memory usage and runtime overhead.