Unit 6: Working with Navmesh - Practice Quiz

CSE434 — Game Development In 3D 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is a NavMesh primarily used for in a 3D game?

Basics of Navmesh Easy
A. Creating textures for 3D objects
B. Defining walkable areas for agents
C. Managing the game's lighting effects
D. Controlling background music playback

2 What does baking a NavMesh do?

Basics of Navmesh Easy
A. Calculates the scene's walkable surfaces
B. Compresses the project's texture files
C. Records the player's recent actions
D. Combines the scene's audio tracks

3 Which Unity component allows a GameObject to move along a NavMesh?

Basics of Navmesh Easy
A. Particle System
B. Mesh Renderer
C. Audio Source
D. NavMesh Agent

4 Which property commonly controls how quickly a NavMesh Agent moves?

Basics of Navmesh Easy
A. Speed
B. Intensity
C. Volume
D. Resolution

5 What is a NavMesh obstacle used to represent?

Basics of Navmesh Easy
A. A sound agents should detect
B. A camera agents should follow
C. An object agents should avoid
D. A texture agents should display

6 What must usually be assigned to make a NavMesh Agent travel toward a location?

Path Finding Using Navmesh Easy
A. An audio clip
B. A destination position
C. A camera angle
D. A material color

7 Which Unity method is commonly used to give a NavMesh Agent a destination?

Path Finding Using Navmesh Easy
A. AddForce()
B. LoadScene()
C. SetDestination()
D. Play()

8 What does pathfinding determine for a NavMesh Agent?

Path Finding Using Navmesh Easy
A. A sound from the target
B. A color of the target
C. A route to the target
D. A texture for the target

9 What does the remaining distance of a NavMesh Agent indicate?

Path Finding Using Navmesh Easy
A. Distance left along its path
B. Health left for the agent
C. Time left in the game
D. Memory left on the device

10 What should an agent do when a solid obstacle blocks the direct route to its destination?

Path Finding Using Navmesh Easy
A. Remove the obstacle's texture
B. Restart the current scene
C. Follow a path around it
D. Increase the camera brightness

11 What is Photon commonly used for in Unity development?

Multiplayer Game Development Using Photon/Unity Netcode Easy
A. Designing character animation clips
B. Creating networked multiplayer games
C. Editing terrain texture layers
D. Baking navigation surfaces

12 What is Unity Netcode mainly designed to synchronize?

Multiplayer Game Development Using Photon/Unity Netcode Easy
A. Audio volume across scene objects
B. Lighting quality across baked maps
C. Texture quality across project folders
D. Game state across connected players

13 In a multiplayer game, what is a client?

Multiplayer Game Development Using Photon/Unity Netcode Easy
A. A shader applied to a scene object
B. A surface included in a NavMesh bake
C. A component attached to a game camera
D. A device connected to a game session

14 What is the main role of a multiplayer server?

Multiplayer Game Development Using Photon/Unity Netcode Easy
A. Generating scene lighting
B. Creating character textures
C. Editing animation keyframes
D. Managing shared game data

15 Why must player positions be synchronized in a multiplayer game?

Multiplayer Game Development Using Photon/Unity Netcode Easy
A. So cameras use consistent lenses
B. So menus use consistent fonts
C. So players see consistent locations
D. So textures use consistent colors

16 Which action can reduce the cost of frequent NavMesh path calculations?

Optimization Techniques Easy
A. Increase the number of moving obstacles
B. Recalculate paths only when needed
C. Recalculate paths during every frame
D. Increase the size of all scene textures

17 Why is object pooling useful in a game?

Optimization Techniques Easy
A. It increases the number of textures
B. It duplicates every connected player
C. It rebuilds the NavMesh every frame
D. It reuses previously created objects

18 Which technique reduces network traffic in a multiplayer game?

Optimization Techniques Easy
A. Sending identical updates every frame
B. Sending unused objects to every client
C. Sending updates only when required
D. Sending all scene textures repeatedly

19 What is Level of Detail (LOD) used to optimize?

Optimization Techniques Easy
A. Storage of player account names
B. Playback of background audio
C. Calculation of keyboard input
D. Rendering of distant 3D objects

20 Why should multiplayer messages contain only necessary data?

Optimization Techniques Easy
A. To reduce bandwidth usage
B. To improve animation frame count
C. To increase texture resolution
D. To enlarge the navigation area

21 In Unity, what is the primary purpose of baking a NavMesh?

Basics of Navmesh Medium
A. To create walkable navigation surfaces
B. To synchronize objects across clients
C. To generate character animation clips
D. To increase the scene's lighting quality

22 A NavMesh Agent cannot move across a narrow doorway after baking. Which NavMesh setting is most likely responsible?

Basics of Navmesh Medium
A. The agent's stopping distance is too high
B. The agent's acceleration is too small
C. The agent's radius is too large
D. The agent's speed is too low

23 What is the effect of assigning a higher area cost to a section of NavMesh?

Basics of Navmesh Medium
A. Agents are prevented from entering that section
B. Agents prefer that section more often
C. Agents avoid that section when alternatives exist
D. Agents move faster while crossing that section

24 A staircase is missing from the baked NavMesh even though its geometry is included in the scene. Which change is most appropriate?

Basics of Navmesh Medium
A. Increase the agent's angular speed
B. Adjust the agent's step height
C. Reduce the agent's stopping distance
D. Increase the agent's avoidance priority

25 Which component is generally responsible for requesting and following a path on a baked Unity NavMesh?

Basics of Navmesh Medium
A. Rigidbody
B. Animator Controller
C. Box Collider
D. NavMesh Agent

26 What does NavMesh.CalculatePath return when no valid route exists between the start and destination?

Path Finding Using Navmesh Medium
A. An invalid path status
B. A complete path
C. A partial path
D. A random nearby path

27 An agent reaches a position near its target but never stops because the target is slightly outside the NavMesh. Which approach is most suitable?

Path Finding Using Navmesh Medium
A. Set the agent's radius to zero
B. Disable obstacle avoidance
C. Sample the target onto the NavMesh
D. Increase the agent's speed

28 An enemy should use a longer route through a safe area instead of a shorter route through hazardous ground. Which NavMesh feature should be used?

Path Finding Using Navmesh Medium
A. A larger collider trigger
B. Higher animation playback speed
C. A lower transform scale
D. Area masks and traversal costs

29 What is the main purpose of NavMeshObstacle with carving enabled?

Path Finding Using Navmesh Medium
A. To dynamically cut a temporary hole in the NavMesh
B. To attach animation states to an agent
C. To increase the agent's maximum movement speed
D. To replicate obstacle positions over a network

30 A moving platform carries an agent between two NavMesh regions. Why might the agent need an Off-Mesh Link?

Path Finding Using Navmesh Medium
A. The regions are separated by a non-walkable gap
B. The agent's rotation speed is too high
C. The target object has no animation
D. The scene contains too many materials

31 An agent follows a path but frequently turns left and right near another agent. Which adjustment is most likely to improve the behavior?

Path Finding Using Navmesh Medium
A. Tune avoidance priority and stopping distance
B. Disable the destination transform
C. Reduce the scene's ambient intensity
D. Increase the texture resolution

32 In a networked Unity game, which system should normally have authority over an AI agent's NavMesh movement?

Multiplayer Game Development Using Photon/Unity Netcode Medium
A. Every connected client
B. The authoritative server or host
C. The audio manager
D. Only the player's camera

33 Why should a networked AI destination usually be set on the authoritative instance rather than independently on every client?

Multiplayer Game Development Using Photon/Unity Netcode Medium
A. To remove all collision checks
B. To improve texture filtering
C. To disable player input
D. To keep path decisions consistent

34 A client sees an AI agent jitter because local NavMesh movement competes with received network positions. What is the best correction?

Multiplayer Game Development Using Photon/Unity Netcode Medium
A. Let both systems write transforms freely
B. Separate authority from visual interpolation
C. Increase the client's screen resolution
D. Disable the NavMesh on the server

35 When spawning a networked player near a selected NavMesh point, what should be verified before assigning the position?

Multiplayer Game Development Using Photon/Unity Netcode Medium
A. The point has the brightest scene light
B. The point is farthest from every camera
C. The point uses the largest material
D. The point belongs to a valid reachable NavMesh area

36 In Photon, an AI controlled by the Master Client stops responding when that client leaves. Which design improvement is most appropriate?

Multiplayer Game Development Using Photon/Unity Netcode Medium
A. Store the AI position only in local memory
B. Transfer authority or elect a replacement controller
C. Remove the AI's NavMesh Agent component
D. Make every client update the AI transform

37 A large open-world level takes too long to bake as one navigation surface. Which optimization is most appropriate?

Optimization Techniques Medium
A. Recalculate paths every rendered frame
B. Divide the navigation data into smaller surfaces
C. Increase every agent's avoidance radius
D. Add more dynamic obstacles everywhere

38 Hundreds of agents are causing frame-rate drops because they request new paths every frame. What is the best optimization?

Optimization Techniques Medium
A. Update paths at controlled intervals
B. Run every query from a separate camera
C. Increase each agent's polygon count
D. Rebuild the entire NavMesh every frame

39 Which strategy helps reduce CPU overhead when many agents are far from the player and not visible?

Optimization Techniques Medium
A. Give them more detailed avoidance settings
B. Lower their update frequency or disable simulation
C. Increase their animation sampling rate
D. Recalculate their paths more frequently

40 A dynamic door opens and closes frequently, causing expensive NavMesh updates. Which technique can reduce unnecessary recalculation?

Optimization Techniques Medium
A. Update the carved region only when the door changes state
B. Assign every agent a unique NavMesh
C. Rebuild all navigation data continuously
D. Increase the door's material resolution

41 A NavMesh is baked with an agent radius of 0.5 m. A corridor is exactly 0.9 m wide, but its visual walls have no collision geometry. What is the most likely result for that agent?

Basics of Navmesh Hard
A. The corridor becomes traversable after increasing the agent's speed.
B. The corridor is traversable only when the agent moves diagonally.
C. The corridor remains fully traversable because the walls are visual only.
D. The corridor is rejected because the clearance is less than the agent diameter.

42 A staircase should be walkable, but the baked NavMesh stops at its base. The agent's maximum step height is 0.25 m, while each stair riser is 0.30 m. Which change most directly fixes the bake?

Basics of Navmesh Hard
A. Increase the agent's maximum step height above 0.30 m.
B. Increase the agent's avoidance priority above 0.30.
C. Increase the agent's angular speed above 0.30 degrees.
D. Decrease the agent's stopping distance below 0.30 m.

43 A narrow bridge is walkable only when its slope is below 35 degrees. The baked agent has a maximum slope of 30 degrees. Which outcome is expected if the bridge geometry is otherwise valid?

Basics of Navmesh Hard
A. The bridge is included because 35 degrees is below the walkable limit.
B. The bridge is included but agents automatically reduce their speed.
C. The bridge is included only when area costs are set to zero.
D. The bridge is excluded because its slope exceeds the agent's limit.

44 A designer marks a swamp as a high-cost NavMesh area rather than making it non-walkable. What behavior does this configuration support?

Basics of Navmesh Hard
A. The pathfinder avoids the swamp unless it substantially shortens the route.
B. The swamp is removed from the NavMesh during runtime automatically.
C. The agent always enters the swamp because it remains walkable.
D. The agent crosses the swamp only when local avoidance is disabled.

45 Two disconnected NavMesh islands are visible in the scene. An agent on the first island receives a destination on the second island. Which diagnostic result most accurately describes the request?

Basics of Navmesh Hard
A. The request succeeds and creates a path across the visual gap.
B. The request succeeds after local avoidance predicts a bridge.
C. The request succeeds if the destination is closer in Euclidean distance.
D. The request fails or remains partial because no connected route exists.

46 An agent's destination lies just beyond a closed door. The door is marked as a NavMesh obstacle and carves the mesh at runtime. What should the controller do when the path becomes invalid?

Path Finding Using Navmesh Hard
A. Move directly toward the destination while ignoring NavMesh constraints.
B. Continue following the old corners until the agent reaches the door.
C. Recalculate the path after detecting invalidation or a blocked corridor.
D. Disable obstacle carving so the original path remains deterministic.

47 A path has status Partial and its final corner ends at the closest reachable polygon before the requested target. What is the safest gameplay interpretation?

Path Finding Using Navmesh Hard
A. The target is reachable, but local avoidance has temporarily paused it.
B. The agent has a complete route and can guarantee target arrival.
C. The path is invalid because every partial result contains no valid corners.
D. The agent has a reachable prefix but cannot reach the requested target.

48 A chase target moves every frame, and the pursuer recalculates a complete NavMesh path every frame. The scene contains 200 pursuers. Which change best reduces unnecessary pathfinding work while preserving responsive pursuit?

Path Finding Using Navmesh Hard
A. Recalculate on a timer and when the target meaningfully changes region.
B. Recalculate every frame with a smaller agent radius.
C. Recalculate only when the pursuer reaches the target position.
D. Replace NavMesh queries with direct movement toward the target.

49 A target is on a higher NavMesh area connected by an OffMesh Link. The agent reaches the link start but never crosses it. Which implementation issue is most likely?

Path Finding Using Navmesh Hard
A. The path contains too few corners before the link.
B. The destination area has a lower traversal cost than the start.
C. The agent's stopping distance is too small for the destination.
D. The link traversal state is missing or never completes.

50 A path is valid, but an agent repeatedly oscillates near a corner because its movement target is set to the exact next corner and its stopping distance is larger than the corner spacing. What is the best correction?

Path Finding Using Navmesh Hard
A. Increase the agent's radius until the oscillation disappears.
B. Use corner advancement and stopping logic based on local distance.
C. Increase the number of path recalculations per frame.
D. Disable all area costs before calculating the next corner.

51 In a server-authoritative Unity Netcode game, a client requests an NPC destination. Which architecture best prevents clients from independently creating impossible movement?

Multiplayer Game Development Using Photon/Unity Netcode Hard
A. The client sends only the final position after local pathfinding.
B. The client moves the NPC and synchronizes its transform afterward.
C. Each client computes movement and accepts the majority transform.
D. The server validates the request, computes movement, and replicates state.

52 A Photon client sends an RPC that orders an enemy to move, but late-joining players do not observe the enemy's current destination. What design change addresses the synchronization gap?

Multiplayer Game Development Using Photon/Unity Netcode Hard
A. Send the RPC more frequently until late joiners receive it.
B. Store authoritative state and synchronize it to newly joined clients.
C. Run the RPC locally on every client before the room is joined.
D. Increase interpolation time so the old RPC remains buffered.

53 Two clients issue movement commands for the same networked agent during a latency spike. Which server-side rule gives deterministic authority?

Multiplayer Game Development Using Photon/Unity Netcode Hard
A. Accept commands according to server receipt and ownership validation.
B. Average the two destinations and broadcast the midpoint.
C. Apply whichever command arrives last at each client.
D. Allow both clients to simulate and reconcile by distance.

54 A server simulates an NPC path, while clients interpolate replicated positions. The NPC appears to cut through corners on clients but follows the path on the server. Which fix is most appropriate?

Multiplayer Game Development Using Photon/Unity Netcode Hard
A. Increase network send frequency while keeping corner data hidden.
B. Replicate authoritative path or steering state with position updates.
C. Increase client interpolation duration without changing movement data.
D. Disable server simulation and let each client follow corners locally.

55 A client predicts an agent moving along a NavMesh, but the server rejects the prediction because a newly carved obstacle blocks the route. What reconciliation strategy is correct?

Multiplayer Game Development Using Photon/Unity Netcode Hard
A. Average the predicted and authoritative positions permanently.
B. Keep the prediction because client responsiveness outranks server state.
C. Disable obstacle carving whenever any client is predicting movement.
D. Snap or smoothly correct to the server state and follow a revised path.

56 A game has 500 agents, but only 40 are near players. All agents currently request paths at the same fixed interval. Which optimization preserves the most useful behavior?

Optimization Techniques Hard
A. Disable NavMesh movement for all agents outside the camera view.
B. Run all path requests in one frame to simplify scheduling.
C. Give every agent the same smaller pathfinding interval.
D. Use distance-based update tiers and lower frequency for distant agents.

57 Runtime NavMesh rebuilding causes frame spikes when a small door changes state. Which strategy usually minimizes the rebuild cost?

Optimization Techniques Hard
A. Use localized or tiled updates covering only the affected region.
B. Rebuild the entire NavMesh after every door transition.
C. Increase agent height so fewer polygons are generated globally.
D. Disable all dynamic obstacles and keep the original bake forever.

58 Path requests are expensive because many agents repeatedly request routes to the same objective. Which technique most directly reduces duplicate searches?

Optimization Techniques Hard
A. Share or batch compatible requests and invalidate them when topology changes.
B. Force every agent to use a unique destination offset.
C. Increase the number of path corners returned for each request.
D. Cache paths by agent position and reuse them indefinitely.

59 A crowd simulation spends most of its time in local avoidance rather than global pathfinding. Which change targets the dominant cost without removing obstacle-aware navigation?

Optimization Techniques Hard
A. Remove all NavMesh area costs from the baked data.
B. Increase the global path recalculation frequency.
C. Reduce active neighbor checks and stagger avoidance updates.
D. Replace local avoidance with direct movement to the goal.

60 A mobile build uses a highly detailed NavMesh that accurately represents small decorative geometry. CPU and memory usage are excessive, while gameplay routes are unchanged. Which change is most appropriate?

Optimization Techniques Hard
A. Add more OffMesh Links to compensate for the extra polygon count.
B. Simplify navigation geometry and use coarser bake settings where safe.
C. Recalculate paths every frame so detailed geometry is used efficiently.
D. Increase voxel resolution around every decorative object.