Second Chance GazetteDevlogToken Use

Stage Light, Lift Walls

unreal-engineautomationlightingnaniteclaude-codegta-vi

Thursday, and fifty jobs

Thursday was a work day, so James was out of the house for most of it and the machine kept building. The overnight runner took jobs off the queue from midnight. From the morning a second loop, driven by the agent (Claude Code Opus 5.5) with the screen and mouse, carried on. James read the queue on his phone in the gaps and typed a few orders into the loop chat.

By the end of the day the queue held fifty jobs stamped Thursday. Thirty-three passed, seven passed in part, eight were blocked and two were skipped because James told the loop to. This entry runs in the order the day ran.

GTA VI has a department for each of these jobs. Here it was one person at work, a phone and the same rule as every day: a red result stops the job, the editor closes and nothing is saved.

Midnight to dawn: exposure, rain and a lift that would not go up

The first build of the day was an exposure assist for cloud and night. It went green at one in the morning and the check ran in the real game half an hour later. One of four day-and-night pairs was valid: noon, clear, 98.1 against 98.7 on screen. The other three were thrown out because the camera had been inside a room, so the indoor exposure value was driving the comparison. The job said done in part and asked for the camera to be pinned outdoors.

Rain stills had gone first, at half past midnight: eleven frames with a storm cell held over the street. All eleven were flagged as the camera still moving, so none of them was graded.

The lift was the first failure. The hotel lift is a real cab with real walls, and the test pushes the player into its sides to see whether they stay inside. At 02:22 the run failed. The cab stuck at the first stop from 02:14 onwards, the legs read 1, 2, 1, and a resident still called and boarded a cab that had stopped working. The ghost check and the three pushes at the ground floor passed. Twelve pushes at the upper stops were inconclusive. A question went into the morning file for James.

Road edges, and a street built from photographs

At ten past three the runner measured frame rate at three driving spots before a road-edge kit went in. The town took about seven minutes to be ready and the game quit itself afterwards. The kit followed at 03:22: four meshes imported at their authored sizes - a crash barrier of 353 centimetres, a post of 99, an end ramp of 670 and a marker post of 125 - with a Blueprint holding all four.

The same stretch of the night belonged to the photoreal facade. The houses on Radworth Road were re-imported from higher-resolution sources. A medium house went from 668 triangles to 6,692, another from 624 to 5,752, and the telegraph pole from 1,068 to 2,610, with a wood material bound to it. Nine meshes, all verified. The cost was the real question, so the runner took a frame-rate baseline before and after. Before the re-import the three spots read 11.6, 19.5 and 4.6 frames per second, all inside the first minutes of streaming, so those numbers were not a fair measure of anything.

In the evening the loop re-measured once the town had settled. The graphics card was under the game thread at all three spots, so the card was not the limit anywhere: 24.5, 16.6 and 24.3 frames per second, with the game thread at 38.9, 60.2 and 39.7 milliseconds. A note on the result says the chart headers still read quality 2 after the scalability had been set to 3.

A dusk terrace of red brick houses with a wooden telegraph pole in the foreground, a cream front door, lit bay windows, green wheelie bins and a white car at the kerb.
A dusk terrace of red brick houses with a wooden telegraph pole in the foreground and lit bay windows.

Six marketing stills were meant to follow, each with a resident in frame. Four came out. The other two were skipped by the game because their resident was away on a trip to Bewsall. One of the four, a close-up of a bay window, is two thirds brick wall and the rest black, and it stays out of this entry.

Kitchens, tea and a shop that sells them

Half six in the morning had belonged to a house kitchen. Twelve props went in within two per cent of their intended size, with twenty-two flat-colour materials and four sounds, one of them a hob simmering on a loop. Next Boss Man's was told to sell tea, milk, sugar, washing-up liquid, baked beans and stewed steak. Seven child Blueprints saved, nineteen display units were placed (the baked beans only had one host unit, not three), and the catalogue read 207 rows. The verify pass reported a fault that turned out to be a blind reader. The per-instance gate passed nineteen out of nineteen.

Late afternoon added three sprays and a house-clearance table for the car boot sale. Seven of each placed, fourteen saved, no bad packages. A verify step failed there too, and the note says why it was false: the check measures actor bounds including the buy box, and its aim trace hit a hierarchical LOD proxy instead of the shop.

The stage light

Mid-afternoon the day produced its one piece of pure fun. A stage light falls in the town, once. It is an easter egg and it is built: seven meshes (the intact light at 16,536 triangles, a wreck of 13,864 and five smaller pieces), three textures, one material of 206 instructions and three sounds - a whistle, a crash and a settle.

A standalone check of the real trigger ran at five past four. The light went through its under-cover retry, fell, hit the ground in eight pieces at 13.8 metres, and did not drop a second time in the same save. The log also said seven watching and no residents reacting, which is a job for the thread.

The capture was a burst of 330 frames at 30 per second - eleven seconds of footage - and two stills taken at ground level.

A terraced street in hard sun with two white Gopher Cabs parked ahead and a cyclist behind them; in the foreground a black theatrical stage light lies wrecked on the tarmac beside a white road line.
A terraced street in hard sun with two Gopher Cabs ahead and a wrecked black stage light on the tarmac in the foreground.

Glass, and the bookkeeping Unreal Engine 5.8 Python gets wrong

The glass split is the day's real technical trap. The idea is simple: pull the glass out of the big merged meshes so the rest can be Nanite. Step one built glass-only meshes. The lodge shell had 32 glass triangles and the worst offender 40,716. Three meshes had no glass slot at all and were converted straight away.

Step two placed a glass actor beside every placed copy and failed on the first go: every mesh said disk 2, level 1, and nothing spawned, because the counter had also counted the HLOD actor, which names every house in the set.

Step three removed the glass from the source. Ten meshes failed before writing, with a message that the triangle bookkeeping was off. Deleting triangles by material id did work, 908 and 21,276 on one mesh, but the call that counts triangles returns the highest triangle id and not the number of live triangles, so gaps in the id range make the numbers disagree. The fix was one compaction call after the deletes. That mesh then proved out in memory at 92,876 triangles, exactly as predicted. The re-run converted thirteen meshes and skipped none. The HLOD actor still holds the old merged geometry, so a rebuild comes next.

Cars that fight the reducer

Three cars were to be cut down with their wheels protected. The sedan went from 113,191 triangles to 99,999 with the tyre segments unchanged and drift at 0.000 centimetres. One car had a source of 2,135,992 triangles and the job refused to write it: after the cut it would have had 320,636, with its wheels down to one or two segments. A second car read identical to the police car, 1,746,506 triangles and 27 slots, which was the same refusal as the police-car job earlier in the afternoon. That job had died on a module that does not exist in Unreal Engine 5.8 Python. The script was patched with a fallback and the job was blocked. Nothing was written to either of the refused cars.

The hotel, again

The staff were built in an evening batch. Three MetaHumans were configured, rigged against the cloud, built in about a minute each, dressed (a street kit for two, a waistcoat for the third), given bow ties on a socket, and written into citizen and schedule assets. Six stills at 2560 wide came out. The waistcoat one was good. Hannah, full-length and close, was near black, which is the lobby's fault again.

The lobby job was the day's most honest failure. Part A went green: 26 fill lights applied, the lux audit read 152.9 to 157.6, 26 actor files on disk. The standalone stills were still black. The check-in desk test also failed, for a reason nobody would guess: one resident's simulation stood at the desk for the whole run with no body, so a resident with a body stopped short of it at 21 seconds.

The lift had a good evening. The closed-loop run at ten past eight pushed 15 times, all inside the cab, and rode seven legs - 1, 2, 3, 4, G, 4, G. The marketing stills for the lift failed the same morning on a grader bug: the test matched a rounded number, 254,322, against the 254,321 the command wrote.

Elsewhere

A supplier named Simon is meant to approach four minutes after the police intro. The build passed. The proof did not. In a play-in-editor run the cab was hired about four minutes after the intro and was still parked 393 metres from the stop at ten minutes. No errors. The suspect is the streaming range, and the question stays with the supplier thread.

A snooker solver compiled green as C++ and then failed twice at the splice, with a compile status of dirty and 44 nodes where 38 had been, the C++ call and the old loop both still there. A hotel desk chip needed one load of the town, which ran at about a tenth of a frame per second with 60 gigabytes committed, and the editor was closed.

James skipped the barber jobs in chat in the evening. The rest of the day included an animal log check, a face shot of Liam behind the Green Boss counter, and a clean look at the grow.

A cellar under magenta grow light: three black tents with mirrored fronts full of flowering plants in pots, a dehumidifier and fan on a wooden floor, and a blue bucket in the corner.
Three black grow tents with mirrored fronts full of flowering plants in a magenta-lit cellar, with a dehumidifier and a fan on a wooden floor.

What Thursday cost

Of fifty jobs, the ones that cost the most were the ones that reported a failure that was not real. A verify step that measured the wrong bounds, a counter that counted the wrong actor, a grader that rounded a number: three false faults, and one real failure that looked like a pass until the stills came out black.

The fault

Unreal Engine 5.8 Python: delete_triangles_by_material_id works but the triangle count is wrong afterwards

After deleting the glass triangles from a static mesh with Geometry Script, a bookkeeping check read "triangle bookkeeping off" and ten of thirteen meshes refused to write. The count call returns the highest triangle id, not the number of live triangles, so gaps left by the delete make the numbers disagree. The 908 and 21,276 deleted on one mesh were correct.

The fix

Compact the mesh after the deletes, then count

One compaction call after the deletes and before the count. The same mesh then read 92,876 triangles exactly, as predicted. The re-run converted thirteen meshes and skipped none. Guard: the job backs up first and refuses to write when the count after compaction differs from the prediction.

The fault

A verify step reports a fault that is not there

Three jobs failed on checks that were wrong: a gate that measured actor bounds including the buy box, a counter that counted the HLOD actor, and a grader that compared a rounded number with an unrounded one. Each looked like a real failure in the result file.

The fix

Read the instance gate, not the headline

In each case the per-instance gate was the true answer: nineteen out of nineteen, zero out of seven. Fix the verify step and trust the gate that counts the things themselves.

The kit

  • A night runner and a daytime loop working one queue
  • Geometry Script for the glass and car triangle work
  • Standalone game runs for every visual check, because play-in-editor voids asset writes

Plain English

TermWhat it means
NaniteUnreal's system for drawing extremely detailed models without hand-made LODs. It does not cover everything - foliage and transparency are the awkward cases.
HLODThe same idea applied to whole groups of buildings at once, so a distant part of town is drawn as one cheap lump.
PIE"Play In Editor" - pressing play inside the editor to test the game without building it first. Fast, and it behaves subtly differently from the real build.
BlueprintUnreal's visual scripting. Logic built by wiring boxes together with lines instead of typing code. This whole game is built in it.
LODSimpler versions of a model, swapped in as it gets further away. The trick that lets a street hold hundreds of objects.

Things we still need to fix tomorrow:

  • Rebuild the HLOD actor that still holds the old merged house-set geometry
  • Fix the hotel lobby so the real-game stills are no longer black
  • Supplier cab: find out why it never leaves its parking spot
  • Snooker: re-run the splice from a clean compile
  • Re-queue the barber jobs when James says

← 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