What a Unity developer interview usually covers
This page is for roles where you build games or apps with the Unity engine. If you are applying to Unity Technologies itself, its engine-core C++ and editor work are a different set of questions, covered in our page on Unity Technologies' own coding interviews. Expect the areas below.
| Area | What they listen for | Questions |
|---|---|---|
| Lifecycle, prefabs, data | Execution order, templates, ScriptableObjects | 1 to 7 |
| C# in Unity | Caching, events, coroutines vs jobs, allocation | 8 to 13 |
| Physics | Rigidbodies, fixed step, triggers, layers | 14 to 18 |
| Rendering, performance, tooling | URP vs HDRP, batching, Profiler, builds | 19 to 26 |
| A small coding or design task | Working and explained | 27 to 30 |
Language-level questions are in our C# interview questions, and engine-agnostic game topics are in our game developer interview questions.
Lifecycle, prefabs and data (questions 1 to 7)
1. What happens in what order when a scene loads? For each MonoBehaviour, Awake and OnEnable run when the object is created or enabled, and Start runs before the first frame update. Do self-setup in Awake and cross-object lookups in Start, because other objects have initialized by then.
2. Update versus FixedUpdate versus LateUpdate? Update runs once per rendered frame. FixedUpdate runs at a fixed timestep and is the place for physics work such as applying forces to a Rigidbody. LateUpdate runs after all Update calls, which suits cameras that follow a moved target.
3. How does the fixed timestep work? The interval is set with Time.fixedDeltaTime or in the Time window, in seconds. If frames are slow, fixed updates back up and catch up in the next frame, up to a maximum timestep beyond which Unity stops trying. So heavy FixedUpdate code can make a slow frame slower.
4. When do you multiply by Time.deltaTime? In Update, so movement per second does not depend on frame rate. Inside FixedUpdate, use Time.fixedDeltaTime, the fixed step length.
5. What is a prefab? A reusable GameObject template with its components, values and children, from which you create instances. Prefabs can nest, have variants, allow per-instance overrides and be instantiated from code at runtime.
6. What is a ScriptableObject and why use one? A data container asset that lives in the project, not in a scene. It holds shared configuration such as enemy stats or item definitions, so many objects reference one asset instead of copying data, and designers can edit it without touching code.
7. How would you load scenes without a long freeze? Load asynchronously, show a loading screen, and consider additive scenes for persistent managers. Be ready to say what you would measure, such as load time per asset.
C# in Unity (questions 8 to 13)
8. Why cache GetComponent results? Looking a component up every frame wastes CPU. Fetch it once in Awake or Start, store it in a field, and reuse it.
9. What is a coroutine, and is it a thread? A coroutine is a method that can pause and resume across frames, for example for a fade. The manual stresses that coroutines are not threads: their work still runs on the main thread. For multithreading, use the job system or .NET async and await with Unity's Awaitable support.
10. How do objects communicate without tight coupling? C# events or delegates, UnityEvents set in the Inspector, or a ScriptableObject event channel. Pick the simplest one, and unsubscribe in OnDisable to avoid leaks.
11. How do you expose fields to the Inspector? Mark a private field with [SerializeField] rather than making it public. That keeps encapsulation while letting designers edit it.
12. Struct versus class in Unity? Classes are reference types allocated on the managed heap, so churn creates garbage. Small structs such as Vector3 are copied by value and avoid heap allocation, but boxing them back to object allocates.
13. What allocates garbage in hot paths? String concatenation, boxing, new arrays or lists each frame, LINQ in Update, and closures. The manual's advice is to manage reference types carefully, pool and reuse objects, and optimize arrays.
Physics (questions 14 to 18)
14. Rigidbody versus CharacterController? A Rigidbody is moved by the physics simulation via forces and velocity. A CharacterController is moved by your code with collision checks and no physics response. Choose by how much simulation you want.
15. Why move rigidbodies in FixedUpdate? Because the physics simulation steps at the fixed timestep. By default the step runs right after FixedUpdate, though Physics.simulationMode can run it after Update or only from script.
16. Collider versus trigger? A collider blocks and produces collision callbacks such as OnCollisionEnter. A trigger collider only detects overlap and calls OnTriggerEnter. At least one of the two objects needs a Rigidbody for callbacks.
17. What are layers and the collision matrix for? Layers group objects, and the layer collision matrix decides which layers interact, which cuts needless checks. Raycasts also take layer masks.
18. How would you stop fast bullets tunneling through walls? Use continuous collision detection, raycast ahead of the projectile each step, or move by sweep tests instead of teleporting.
Rendering, performance and tooling (questions 19 to 26)
19. Built-in pipeline, URP or HDRP? URP and HDRP are built on the Scriptable Render Pipeline, a thin API layer for scheduling rendering commands from C#. URP targets a broad range of platforms, HDRP high-end visuals. Choose by target hardware, and mention that changing pipeline late means reworking materials.
20. What is a render pipeline asset? An asset that stores which render pipeline instance to use and how it is configured. The instance defines what the pipeline does.
21. How do you reduce draw calls? Batching and instancing, shared materials, atlases, static batching where suitable, and level of detail and culling for distant objects. Check the Frame Debugger before and after.
22. How do you pool objects? Reuse instead of Instantiate and Destroy: keep inactive objects in a pool and reactivate them. Unity provides pooling APIs in UnityEngine.Pool.
23. How do you find a performance problem? Open the Profiler (Window, Analysis, Profiler), ideally attached to a device build. It is instrumentation based, using markers, and its modules show CPU, rendering and memory. Find whether you are CPU or GPU bound, fix the biggest cost, then measure again. Deep Profiling adds detail but slows the game.
24. What is different when targeting mobile? Tighter memory and thermal limits, so smaller textures, fewer real-time lights, careful overdraw and profiling on real devices rather than the editor.
25. How do you manage large assets? Addressables or asset bundles let you load content on demand and update it. Say what you used and what problem it solved.
26. How do you keep a Unity project healthy in version control? Commit the .meta files with their assets, use text serialization, split big scenes into prefabs or additive scenes to reduce conflicts, and use assembly definitions to speed up compile times.
A small coding and design task (questions 27 to 30)
27. Write a reusable health component. Narrate the choices:
public class Health : MonoBehaviour {[SerializeField] int max = 100;public event System.Action Died;int hp;void Awake() => hp = max;public void Damage(int n) { hp -= n; if (hp <= 0) Died?.Invoke(); }}
Point out the event so other scripts react without a hard reference, the serialized field for designers, and that you would add a heal method and clamp.
28. Move a Rigidbody player. Read input in Update, apply it in FixedUpdate:
void Update() { input = new Vector3(Input.GetAxisRaw("Horizontal"), 0, Input.GetAxisRaw("Vertical")).normalized; }void FixedUpdate() { rb.MovePosition(rb.position + input * speed * Time.fixedDeltaTime); }
Say which input system you used; many current projects use the Input System package instead of the legacy axes shown here.
29. Design an inventory. ScriptableObject item definitions, a serializable list of item ids and counts for runtime state, events for UI updates, and a save format with a version field.
30. Design a spawner that does not hitch. A pool of enemies, spawn points from data, a coroutine or timer for pacing, and a cap on active enemies so the frame cost stays predictable.
What studios test and how to prepare
Processes vary; these are common patterns, not guarantees.
| Round | What it usually looks like | How to prepare |
|---|---|---|
| Portfolio walkthrough | Open a project, explain architecture, one bug, one regret | Know your scene and prefab structure. See portfolio review interviews |
| Take-home | A small gameplay feature in a few hours, then a review | Small scope, readable code. See rules for take-home assignments |
| Live coding | C# gameplay task, often with a collision, timer or UI | Practice from an empty script, narrating |
| Design discussion | Inventory, spawner, save system, mobile performance | Use lifecycle, prefab and pooling vocabulary |
A two-week plan
- Days 1 to 4: build a small game with a Rigidbody player, a pooled enemy spawner and a ScriptableObject item.
- Days 5 to 8: read the manual pages on execution order, fixed updates, coroutines and managed memory; answer questions 1 to 18 aloud.
- Days 9 to 11: profile a device or editor build and write down one allocation or draw-call fix.
- Days 12 to 14: run the drill below and rehearse one project story per day.
Practice out loud: a ten-minute drill
Pick five questions: one on lifecycle, one on garbage collection, one on physics, one on rendering, and a walkthrough of a project. Give each two minutes without notes, and check you defined the idea, gave the reason and named an example from your own work.
An AI mock interview can ask follow-ups on your answers and score each spoken one. If the role is a first job, our game developer intern interview questions cover the entry-level side.
Where CoPilot Interview fits
CoPilot Interview is an AI interview assistant for practice and, where an employer allows it, live help. The free plan gives 15 minutes a day of live help in sessions of up to 15 minutes, with AI mock interviews included; Paid plans are Standard at $24.99 a month and Pro at $39.99 a month. It is a desktop app for Windows 10 and 11 and macOS 12 or later, a free iPhone and iPad companion on the App Store (iOS 16 or later) and an Android companion in beta. For a Unity role, try the free free practice demo for typed questions, then rehearse your project walkthrough in an AI mock interview built from your résumé and the job description. In real interviews, and especially assessments, take-homes and proctored rounds, follow your employer's rules.
Disclosure: CoPilot Interview is our product, so weigh what we say about it accordingly.
Frequently asked questions
What questions are asked in a Unity developer interview?
The MonoBehaviour lifecycle, Update versus FixedUpdate, prefabs and ScriptableObjects, coroutines, garbage collection and pooling, physics callbacks, URP versus HDRP, profiling, and a walkthrough of a project.
Is C# enough for a Unity job?
C# is the main scripting language, so yes for most gameplay roles. Know the engine APIs well, and for performance roles be able to discuss what the Profiler shows.
What Unity version should I mention?
Name the versions you have shipped on. Unity 6 uses the 6000.x numbering, and the manual lists several release lines, so confirm which one the studio uses.
How is a Unity interview different from a Godot one?
Unity talks about GameObjects, components and prefabs; Godot talks about nodes, scenes and signals. Our <a href="/blog/godot-interview-questions">Godot interview questions</a> show the contrast.
Do I need ECS or DOTS?
Not for most roles. Know what data-oriented design is and why it helps with large entity counts, and say honestly what you have used.
Rehearse it out loud before the real one
The AI mock interview builds questions from your resume and the job description, reads them aloud and scores each spoken answer out of 10. Included on the free plan.
Start a mock interview