
OVERVIEW.
C1sim Zaragoza Commission - Bug fixes
For the TDC Group Development group, I was commissioned to diagnose and fix multiple critical bugs within an existing train simulation system. The commissioner’s previous developer was no longer available, leaving several systems unstable and inconsistent in behavior.
Situation:
The game featured complex train spawning and teleportation systems, but due to poor error handling and StreamingEnabled being active for performance optimization, several unpredictable bugs occurred. Including player deaths, incorrect spawns, and broken traffic logic.
Key Fixes & Improvements:
Teleportation System Fixes: Resolved an issue where players were teleported into the sky or void if the target station had not yet loaded, ensuring stable teleportation across all distances.
Train Spawning Logic: Adjusted train spawning to properly sync with loaded map regions, preventing trains from spawning underground or in unloaded zones.
Traffic Light System: Debugged and restructured the traffic light logic to fix several inconsistencies:
Trains moving on red lights.
Lights staying red on spawn and blocking movement.
Red lights triggering without an active train.
Restriction where players could only spawn one train per session.
System Reliability: Implemented checks and safety conditions to ensure consistent performance regardless of player location or game load order.
Outcome:
Delivered a stable, fully functional set of systems with improved synchronization, reduced errors, and smoother gameplay across stations.
Showcase:
Game: C1sim Zaragoza





