Recall & Review
beginner
What is performance profiling in Unity?
Performance profiling in Unity is the process of measuring how your game uses resources like CPU, GPU, and memory to find parts that slow down the game or use too much power.
Click to reveal answer
beginner
Name the main Unity tool used for performance profiling.
The main tool is the Unity Profiler, which shows detailed information about CPU, GPU, memory, rendering, and more while your game runs.
Click to reveal answer
intermediate
What does the CPU Usage section in Unity Profiler show?
It shows how much time the CPU spends on different tasks like scripts, physics, rendering, and garbage collection, helping identify slow code parts.
Click to reveal answer
intermediate
Why is garbage collection important in performance profiling?
Garbage collection frees unused memory but can cause pauses in the game. Profiling helps find when and how often it happens to reduce lag.
Click to reveal answer
advanced
How can you reduce GPU bottlenecks found during profiling?
You can reduce GPU bottlenecks by optimizing shaders, lowering draw calls, simplifying models, and reducing screen resolution or effects.
Click to reveal answer
Which Unity tool helps you analyze CPU and GPU usage during gameplay?
✗ Incorrect
The Unity Profiler is designed to analyze CPU, GPU, memory, and other performance metrics during gameplay.
What does a high number of draw calls usually indicate?
✗ Incorrect
Many draw calls mean the GPU must render many objects one by one, which can slow down performance.
What is a common cause of frame rate drops related to memory?
✗ Incorrect
Frequent garbage collection pauses the game to free memory, causing frame rate drops.
Which of these is NOT a Unity Profiler module?
✗ Incorrect
Unity Profiler does not have a 'Sound Mixer' module; sound is usually profiled with other tools.
How can you reduce CPU usage in Unity games?
✗ Incorrect
Optimizing scripts and reducing heavy calculations lowers CPU load and improves performance.
Explain how you would use the Unity Profiler to find performance issues in a game.
Think about the steps from starting the profiler to spotting slow parts.
You got /5 concepts.
Describe common causes of performance problems in Unity games and how profiling helps fix them.
Consider what slows down games and how profiling points them out.
You got /5 concepts.