HomeGamesUpdatesPricingMethodology
Steam News8 January 20265mo ago

Waypoint Reservation System , Reservation Management, Queue-Based Repositioning

Key Changes Made: Waypoint Reservation System · Added WaypointReservation class to track which AI car occupies each waypoint · Thread-safe using lock (reservationLock) for concurrent access · Reservations have timestamp

Full notes

Full City-Racing update

Read the full published notes in a cleaner layout. The original post stays linked below.

What changed

0 fixes4 additions3 changes1 removal
  • Gameplay
added· Added WaypointReservation class to track which AI car occupies each waypoint
added· IsWaypointAvailable(): Checks if a waypoint can be used
changed· Automatic cleanup of expired/invalid reservations via CleanupExpiredReservationsCoroutine()
added· RepositionAICarWithQueue(): New coroutine that searches for free waypoints
changed· Prevents multiple AI cars from spawning at the same waypoint simultaneously
added· When an AI car progresses to a new waypoint, it automatically releases the old one and reserves the new one

Key Changes Made:

  1. Waypoint Reservation System

· Added WaypointReservation class to track which AI car occupies each waypoint

· Thread-safe using lock (reservationLock) for concurrent access

· Reservations have timestamps and expiration logic to prevent deadlocks

  1. Reservation Management

· ReserveWaypoint(): Attempts to reserve a waypoint for this AI car

· ReleaseWaypoint(): Releases a specific waypoint reservation

· IsWaypointAvailable(): Checks if a waypoint can be used

· Automatic cleanup of expired/invalid reservations via CleanupExpiredReservationsCoroutine()

  1. Queue-Based Repositioning

· RepositionAICarWithQueue(): New coroutine that searches for free waypoints

· Searches forward (for missed waypoints) or backward (for stuck situations)

· Waits up to maxWaitTimeForWaypoint seconds before forcing a waypoint

· Prevents multiple AI cars from spawning at the same waypoint simultaneously

  1. Automatic Waypoint Tracking

· When an AI car progresses to a new waypoint, it automatically releases the old one and reserves the new one

· Handles OnDisable/OnDestroy to clean up reservations when cars are removed

  1. Configurable Parameters

· maxWaitTimeForWaypoint: How long to wait for a free waypoint (default 5s)

· reservationTimeout: How long reservations are valid before expiring (default 15s)

This system ensures AI cars won't collide during repositioning and prevents all cars from spawning at the same waypoint!

Source

Steam News / 8 January 2026

Open original post

Changelog.gg summarizes and formats this update. How we read updates.