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. Controlling background music playback
B. Defining walkable areas for agents
C. Managing the game's lighting effects
D. Creating textures for 3D objects

2 What does baking a NavMesh do?

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

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

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

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

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

5 What is a NavMesh obstacle used to represent?

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

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

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

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

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

8 What does pathfinding determine for a NavMesh Agent?

Path Finding Using Navmesh Easy
A. A route to the target
B. A color of the target
C. A sound from 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. Memory left on the device
B. Health left for the agent
C. Time left in the game
D. Distance left along its path

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

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

11 What is Photon commonly used for in Unity development?

Multiplayer Game Development Using Photon/Unity Netcode Easy
A. Creating networked multiplayer games
B. Designing character animation clips
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. Lighting quality across baked maps
B. Texture quality across project folders
C. Game state across connected players
D. Audio volume across scene objects

13 In a multiplayer game, what is a client?

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

14 What is the main role of a multiplayer server?

Multiplayer Game Development Using Photon/Unity Netcode Easy
A. Creating character textures
B. Editing animation keyframes
C. Generating scene lighting
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 textures use consistent colors
C. So menus use consistent fonts
D. So players see consistent locations

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 during every frame
C. Increase the size of all scene textures
D. Recalculate paths only when needed

17 Why is object pooling useful in a game?

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

18 Which technique reduces network traffic in a multiplayer game?

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

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

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

20 Why should multiplayer messages contain only necessary data?

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

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

Basics of Navmesh Medium
A. To create walkable navigation surfaces
B. To generate character animation clips
C. To synchronize objects across clients
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 acceleration is too small
B. The agent's radius is too large
C. The agent's stopping distance is too high
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 move faster while crossing that section
B. Agents are prevented from entering that section
C. Agents avoid that section when alternatives exist
D. Agents prefer that section more often

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. Adjust the agent's step height
B. Increase the agent's angular speed
C. Increase the agent's avoidance priority
D. Reduce the agent's stopping distance

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

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

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

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

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. Disable obstacle avoidance
B. Set the agent's radius to zero
C. Increase the agent's speed
D. Sample the target onto the NavMesh

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. Area masks and traversal costs
B. Higher animation playback speed
C. A larger collider trigger
D. A lower transform scale

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 replicate obstacle positions over a network
C. To increase the agent's maximum movement speed
D. To attach animation states to an agent

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 agent's rotation speed is too high
B. The regions are separated by a non-walkable gap
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. Disable the destination transform
B. Reduce the scene's ambient intensity
C. Increase the texture resolution
D. Tune avoidance priority and stopping distance

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. Only the player's camera
B. Every connected client
C. The authoritative server or host
D. The audio manager

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 keep path decisions consistent
C. To disable player input
D. To improve texture filtering

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. Disable the NavMesh on the server
D. Increase the client's screen resolution

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 belongs to a valid reachable NavMesh area
B. The point uses the largest material
C. The point has the brightest scene light
D. The point is farthest from every camera

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. Transfer authority or elect a replacement controller
B. Make every client update the AI transform
C. Store the AI position only in local memory
D. Remove the AI's NavMesh Agent component

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. Add more dynamic obstacles everywhere
C. Increase every agent's avoidance radius
D. Divide the navigation data into smaller surfaces

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. Lower their update frequency or disable simulation
B. Increase their animation sampling rate
C. Give them more detailed avoidance settings
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. Rebuild all navigation data continuously
B. Increase the door's material resolution
C. Update the carved region only when the door changes state
D. Assign every agent a unique NavMesh

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 remains fully traversable because the walls are visual only.
B. The corridor becomes traversable after increasing the agent's speed.
C. The corridor is traversable only when the agent moves diagonally.
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. Decrease the agent's stopping distance below 0.30 m.
C. Increase the agent's angular speed above 0.30 degrees.
D. Increase the agent's avoidance priority above 0.30.

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 only when area costs are set to zero.
B. The bridge is included but agents automatically reduce their speed.
C. The bridge is included because 35 degrees is below the walkable limit.
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 agent always enters the swamp because it remains walkable.
B. The swamp is removed from the NavMesh during runtime automatically.
C. The pathfinder avoids the swamp unless it substantially shortens the route.
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 fails or remains partial because no connected route exists.
D. The request succeeds if the destination is closer in Euclidean distance.

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 reachable prefix but cannot reach the requested target.
C. The agent has a complete route and can guarantee target arrival.
D. The path is invalid because every partial result contains no valid corners.

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 only when the pursuer reaches the target position.
B. Recalculate on a timer and when the target meaningfully changes region.
C. Recalculate every frame with a smaller agent radius.
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 agent's stopping distance is too small for the destination.
B. The destination area has a lower traversal cost than the start.
C. The link traversal state is missing or never completes.
D. The path contains too few corners before the link.

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. Disable all area costs before calculating the next corner.
C. Use corner advancement and stopping logic based on local distance.
D. Increase the number of path recalculations per frame.

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. Store authoritative state and synchronize it to newly joined clients.
B. Send the RPC more frequently until late joiners receive it.
C. Increase interpolation time so the old RPC remains buffered.
D. Run the RPC locally on every client before the room is joined.

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. Average the two destinations and broadcast the midpoint.
B. Allow both clients to simulate and reconcile by distance.
C. Apply whichever command arrives last at each client.
D. Accept commands according to server receipt and ownership validation.

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. Replicate authoritative path or steering state with position updates.
B. Increase client interpolation duration without changing movement data.
C. Increase network send frequency while keeping corner data hidden.
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. Snap or smoothly correct to the server state and follow a revised path.
C. Keep the prediction because client responsiveness outranks server state.
D. Disable obstacle carving whenever any client is predicting movement.

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. Run all path requests in one frame to simplify scheduling.
B. Disable NavMesh movement for all agents outside the camera view.
C. Use distance-based update tiers and lower frequency for distant agents.
D. Give every agent the same smaller pathfinding interval.

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

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

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. Force every agent to use a unique destination offset.
B. Increase the number of path corners returned for each request.
C. Cache paths by agent position and reuse them indefinitely.
D. Share or batch compatible requests and invalidate them when topology changes.

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. Increase the global path recalculation frequency.
B. Replace local avoidance with direct movement to the goal.
C. Remove all NavMesh area costs from the baked data.
D. Reduce active neighbor checks and stagger avoidance updates.

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. Recalculate paths every frame so detailed geometry is used efficiently.
C. Simplify navigation geometry and use coarser bake settings where safe.
D. Increase voxel resolution around every decorative object.