unity-profiler

Collect FPS, memory, and triangle metrics from Unity profiling sessions.

1|Updated Feb 22, 2024
One-click install
npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-profiler-stardust-liu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-profiler
Source: https://github.com/Stardust-liu/EDC_Framework/tree/main/Assets/AI/Unity-Skills-1.5.5/unity-skills/skills/profiler
Command: npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-profiler-stardust-liu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Profiling Unity applications to quickly gauge FPS, memory usage, and rendering efficiency, enabling targeted performance optimizations.

Core Features & Use Cases

  • Real-time metrics: FPS, memory usage, draw calls, and batches.
  • Performance-guided debugging: Identify bottlenecks during gameplay and editor sessions.
  • Use Case: In a mid-game optimization pass, measure frame-rate stability and memory growth to guide adjustments.

Quick Start

Invoke profiler_get_stats to retrieve current performance statistics for the active Unity project.

Frequently Asked Questions about unity-profiler

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

FAQPage Schema
How do I check Unity FPS and memory usage during a profiling session?

To check Unity FPS and memory usage, you invoke profiler_get_stats to retrieve current performance statistics for your active project. This captures real-time metrics, including draw calls, batches, and triangles, to quickly gauge rendering efficiency.

What Unity performance statistics can I collect for game optimization?

You can collect Unity performance statistics such as FPS, memory usage, triangles, and batches. These metrics are returned in a structured result to identify bottlenecks and guide targeted adjustments during gameplay and editor sessions.

Does the Unity profiler work with both editor runs and runtime gameplay scenarios?

Yes, the Unity profiler works with both editor runs and runtime gameplay scenarios. It is applicable across development, testing, and optimization workflows to measure frame-rate stability and memory growth.

How do I identify rendering bottlenecks using draw calls and batches in Unity?

You identify rendering bottlenecks by invoking profiler_get_stats to retrieve current draw calls and batches. This returns a structured result of real-time rendering metrics, enabling performance-guided debugging during gameplay.

What happens if Unity profiling data is missing during a session?

When Unity profiling data is missing during a session, the profiler gracefully handles the missing data. It ensures the structured result is returned without breaking the performance-guided debugging workflow.