Second Chance GazetteDevlogToken Use

Doors at the Wrong End

unreal-enginetrainsbusesroad-graphclaude-codegta-vi

Monday, and nothing at the desk

Monday was a work day, so James set the machine going before he left and read the results on the phone in the gaps. The agent, Claude Code Opus 5.5, ran the overnight queue, and then a second loop picked up through the day. None of it was placed by hand. By the evening the interesting thing was not a feature. It was four jobs that each came back with a result that looked like a failure and was something else.

GTA VI is a coastal sprawl with a department behind it. This town has one unit, two stations and a rota of 36 departures a day, and on Monday it was stopping at the wrong end.

The train that kept the wrong hours

The train check is a standalone run with the editor closed. It boots the town at 07:00, lets the clock skip ahead, then jumps it to a minute before a departure and waits to see whether a resident walks onto the platform and gets on. The first run of the evening found the fault by the log. The train opened its doors at Radworth at 07:09. That is Bewsall's departure minute, and the timetable had nothing due at Radworth for nine minutes, so nobody boarded.

A man in a grey hoodie and dark trousers walks along a covered timber platform beside a red-brick station building at low gold sun, with a yellow-fronted train standing at the next track and a steel column in the foreground.
A man in a grey hoodie walks along a covered timber platform beside a brick station building in low gold sun, a yellow-fronted train standing at the next track.

The agent's first reading was a timetable bug. The log said otherwise: the timetable had loaded 36 departures and 36 arrivals Monday to Saturday, correctly. The train itself picks which end it starts at once, when it first appears, and the check's clock jump came after that. From then on it shuttled half a cycle out of step for the whole day.

The first fix, gap s329, lets the town re-place the train when nobody is looking at it. It worked: the log shows the train moved to Bewsall and the doors opened at 07:09, exactly the 07:10 departure. And still nobody boarded, with a new complaint. No run that way was due within 35 minutes.

That one took longer to find and the cause was the jump itself. Train runs are built once per day. The town starts at 07:00, skips to 10:00, and the 07:00 to 10:00 runs finish and are cleared out as old. Then the check sets the clock back to 07:08 on the same day, and nothing rebuilds them. At 07:08 there were no runs at either end. The fix, s330, rebuilds the day's runs when the clock goes backwards by ten minutes or more. It built green at 22:12.

The re-run printed run 102 opening at Bewsall with the doors and the platform side logged, then the train arriving at Radworth with six passengers seated. The next runs were listed in order and the unit stayed in step at Radworth. The check also reported 0 aboard for run 102, so residents getting on from the platform is still to be graded. The frames came back from the run and are ungraded.

A man in a grey hoodie seen from behind walks through a pair of open maroon glazed doors into a brick-walled station porch, with green hills and cloud visible beyond.
A man in a grey hoodie walks through open maroon glazed doors into a brick station porch, green hills beyond.

Nobody had a clock jump in mind when the train was written, because in the real game the clock only goes one way. It matters here because every test of the day uses a jump, and a test that cannot reproduce the real day is checking something else.

The bus stops that read as nowhere

The bus thread had four things to report overnight and in the afternoon.

The first was the new road graph. The airport roads went in overnight and the dump of the whole network was rewritten: 443 nodes, 1,632 edges, 483 roads. Every lane id on routes 5 and 6 changed. The agent re-ran the route builders against the new graph and compared the output with the old, lane by lane. Every polyline came back at 0.00 cm from the replica, the timetables and zones byte-identical, and the free lap on route 5 unchanged at 1,061 seconds. All the ids changed and none of the roads did. A different file name for the same road is a thing a check has to be built to see.

The second was a cab. The right-hand-drive taxi reimport was refused at step 1.3 on a bounds drift of 0.384 cm against a tolerance of 0.1. Everything else passed: 82,612 of 82,612 triangles, the left-hand wheel box emptied from 631 vertices to 0, the seat moved 12 cm. The agent stopped, saved nothing, and wrote that 0.38 cm on a 4.5 m body is about a tenth of a percent and the tolerance looked too tight for a backrest-only file. James approved 0.5 cm through the coordinator at 08:48 that morning and the gate was reset.

The third was route 5. The eight stops were placed and saved, and the survey said nav None at seven of them. A navmesh reading of none at a bus stop means the stop is on ground a resident cannot walk to, which would be bad news. The agent's own note is that the probe runs in the same call that loads the region, before the navmesh tiles have built, so it may be reading too early. A read-only script was written to load, wait and probe again, with the Interchange stands as the control, and that is the next step.

The fourth was route 6. The survey found a site for six of seven stops. The seventh, Radworth Primary School, came back NO SITE: footway 108 cm on all three tries, against the 148 cm minimum for even a pole. The route is stopping short of a school, and the options are a different stop position or a widened footway, and neither is the agent's call.

A radio that passed in the build and failed in the check

The bin lorry's cab radio was the day's cleanest false alarm. The build script created two radio blueprints, added three components under the chassis, printed every value right, and then asserted that the radio "hangs off None, not Chassis". The agent restored the lorry from the backup, as the rule says, and wrote down that the build looked right and the check looked wrong. A blueprint's component template has no attach parent in editor Python; the hierarchy lives in the node tree. The re-run checked the instance instead and printed that all three hang off Chassis.

In the standalone part the cab radio played at 0.400 and both outside radios did not play, and the check failed anyway. An outside radio that has never played still reports its default volume of 1.0, and the rule wanted it under 0.02. The check was judging a speaker by a number it carries while switched off. The sound was right and two verdicts were wrong.

What none of it was

Nothing here was placed in the world by hand. The train fix is live and the rest is staged or read. There was also a first look at why textures and the road surface arrive late in a standalone run, and a Muntjac donor skeleton that measured 80 cm in the engine and 101 cm in Blender, rescaled to about 107 cm with a size gate that now reads 80.4. A different shape from a smaller deer would mean the import is wrong, and that gets looked at in the game with a driver.

It was a Monday, so the queue ran on its own and James read it at lunch. Four of the results said BLOCKED and none of them were a problem with the game.

The fault

Unreal Engine 5.8 train opens its doors at the wrong station after the clock is changed in a test

A placed train unit chooses its starting end once, in its begin-play event. A later clock jump leaves it half a cycle out of step: the log showed doors opening at Radworth at Bewsall's departure minute, and "no timetable run that way is due within 35 min". First guess: the timetable loaded wrong. It had not, 36 departures and 36 arrivals Monday to Saturday. A second fault sat behind it: a backwards clock jump on the same day found no runs at either end, because the day's runs are built once and the early ones had been cleared as finished. Two build and test cycles, most of an evening.

The fix

Re-place the unit when unseen, rebuild runs on a backwards jump

Call the unit's own schedule-init event by reflection while it waits, unbound and more than 150 m from the player, if the timetable wants the other end. On a backward clock jump of ten minutes or more, rebuild the day's runs at the new time, drop duplicates, and put future unridden runs back to scheduled. Both have a console off switch. The guard is the re-run itself: it reads run 102 opening at 07:09 and the next run listed.

The fault

Bus stop survey reads nav None at seven stops and a stop returns NO SITE in Unreal Engine 5.8

nav None for stops placed by a script that loads the region and probes in one call. A probe made before the navmesh tiles have built reads empty ground whether it is walkable or not. The agent flagged it as a candidate artefact, not a result. Separately, a stop outside the primary school found 108 cm of footway against a 148 cm pole minimum on all three nudges.

The fault

Reimport refused on bounds drift 0.384 against a tolerance of 0.1

A taxi body reimport passed every check but one. The drift is 0.384 cm on a 4.5 m body. The gate stopped the job and saved nothing, which is its job. The tolerance, not the mesh, was wrong, and widening it was a human decision.

The fix

Check the instance, judge a radio by whether it plays

For a component added to a blueprint, check the instance in the running world, or the node tree, not the component template's attach parent, which is empty in editor Python. For an audio source, judge it by whether it is playing, because an idle radio still reports a default volume of 1.0.

The kit

What was used

  • Standalone game runs with the editor closed, started by a wrapper script, with the play log as the evidence and a screenshot at each stage.
  • Staged gap builds that back up first and revert on a red build.
  • Python road-graph tools run offline to diff route builds lane by lane against a replica.
  • A queue of jobs run in slots overnight and in the day by a computer-control loop, each with a result file.

Plain English

TermWhat it means
navmeshAn invisible map of walkable ground that characters use to work out routes. No navmesh, no walking.
splineA curved line placed in the level that other things follow - a road, a bus route, a river.
blueprintUnreal's visual scripting. Logic built by wiring boxes together with lines instead of typing code. This whole game is built in it.

Things we still need to fix tomorrow:

  • Train: grade the six frames from the last run, then look at why 0 residents boarded run 102.
  • Route 5: re-probe the seven nav None stops after the navmesh tiles have built; route 6: decide the school stop.
  • Taxi: re-run the reimport at the 0.5 cm tolerance.
  • Bin lorry radio: change the idle-radio check to judge playing, not volume.
  • Late textures: the pool settings run is queued; the packaged build needs James to say yes.

← All devlog entries

Watch it get built. All of this goes up on YouTube as it happens - broken animations, buildings hovering a foot off the ground, the lot.

Subscribe on YouTube