Second Chance GazetteDevlogToken Use

Knife and Fork

unreal-engineclaude-codeclub-diningperformancedlssgame-threadpickpocketingtownlife

Friday, and somewhere to sit down

Friday was light drizzle and seven to ten degrees, the sort of day that keeps a person at the desk. The agent (Claude Code Opus 5.5) ran the daytime queue from the loop chat and the night runner had the small hours, though the runner mostly stood about: from midnight to eight it logged the same line every quarter of an hour, nothing started, because the bodies chain was stalled on a step that only the computer-use loop can do. By the end of the day 39 queue jobs carried the 4 December stamp. 34 finished, 4 blocked, 1 skipped on purpose.

The morning began with a request James typed at twenty-six minutes past eight: he wanted the player to sit down and eat at the working men's club, see the carvery being served, and after that have a full English breakfast turn up in the mornings. Some of it had been started before the Kimodo animation tool arrived, so the first move was to throw the old plan away and rebuild it on clips that fit the chairs.

The club now works like a proper one. Breakfast runs seven until eleven, carvery eleven until ten at night. You press U on a free chair and sit. The waitress, or failing her the carver, comes over and takes the order: two meats for £8.99, or a full English for £6.99 with a free tea, coffee or orange juice. The carver carves each meat, spoons the veg, pours the gravy, and the plate on the counter fills up stage by stage. It is carried to your table in both hands and set down in front of you. Three residents can sit at free chairs and eat at the same time.

The dining room of a working men's club: rows of cream-topped tables with red upholstered chairs, wooden partition walls, a patterned maroon carpet, a sprung wooden dance floor in the foreground and a woman with grey hair standing at the door.
The club dining room: cream-topped tables, red chairs, wooden partitions, patterned carpet and a woman at the door.

Sitting down to eat in a restaurant or a bar is something people keep asking for, and this is the version with a Midlands carvery in it. The clip work took most of the evening: five seated clips pinned to the pub chair and four staff clips with four takes each, then all 15 imported and retargeted onto the two pub bodies, the two town bodies and the player. The retarget's foot check complained about some older clips, the chair idle and the laugh among them, not the new dining ones.

Then the knife and fork. A follow-up build made the player's meal come with cutlery, held, and the second test run served a carvery on Monday at half past twelve with the fork in the right hand, picked up and put down again, the server carrying twelve times. Six chairs were turned to face their tables first, and the fix saved with none still off.

Why it still runs at eleven frames a second

The other thread was the one that matters most. James wants the game above 30 frames a second on one 8 GB card, and Thursday night's measurements said it was nowhere near that at the spawn point. The agent measured again at his real settings, 1600 by 900, Epic, with tessellation off. Outside No. 6 the game thread took 95 milliseconds and the card 130, seven frames a second. At the Boss Man shop the game thread took 71 milliseconds, eleven frames. Inside the garage gym it took 33 and the game ran at 26. The game thread, not the graphics card, is the wall in two of the three places.

Round seven of the optimising went in during the evening, three gap builds: vehicles and idle doors that stop ticking when far away, the traffic warden's ground traces, and a throttle for the critters' movement. The agent tested all three switched off against switched on, in a mirrored order so the machine's drift cancels out. The honest answer was that only the parking traces clearly save anything, about a millisecond, and the others sat inside the noise. Two more jobs then swapped the engine's expensive actor searches in 16 Blueprints for the town's own cache, every one compiled and saved one at a time, 13 tag searches and 5 class searches. The timing run for those swaps is the next job, and it is written. and its plan sets the target at 33 milliseconds on the game thread at the shop, down from about 49. That is a 16 millisecond hole, and the plan says plainly that the spawn point cannot get there by game-thread work alone.

One thing did land with a bang. In the hair check, switching tessellation back on at the spawn took the frame rate from 7 to 17 and the card from 130 milliseconds to 22. The hair release was supposed to save graphics memory and did not: it went up by 116 MB. The job that would have turned it on by default checked its own gate, saw the numbers, and skipped itself. A gate that reads the numbers before it flips a switch is what it is for.

A side-by-side of a dusk terraced street with a parked grey saloon car: the left half is temporal super resolution at 66.7 percent, the right half is DLSS Quality, with near-identical detail in the brickwork and rear lights.
The same dusk street rendered with the engine's own upscaler on the left and DLSS Quality on the right.

DLSS, twice

The first DLSS check, in the afternoon, said it did nothing. The loop's verdict was that nothing had engaged. The agent read the log and corrected it: the upscaler had engaged every time, and the frame rate had not moved because the game was waiting on the game thread, so drawing fewer pixels bought nothing. Frame Generation had been refused outright by NVIDIA's layer with "not supported on current hardware". The cause was a Windows setting, hardware-accelerated GPU scheduling, which was off. James switched it on and rebooted.

With it on, the second run showed Frame Generation active and a bigger jump than the first: Balanced at 17 frames against 12.7 for the standard upscaler. That looked like a win until the agent ran it a third time, counterbalanced, with the standard upscaler measured at the start and again at the end. The standard one drifted by a full frame on its own. Balanced came in at 14.3, Quality at 14.8, Frame Generation at 16.2, and the second standard run at 14.3. The big jump was drift. Frame Generation does lift the number on screen, though it warps the car in motion. None of it touches the game thread, so none of it counts towards the 33 milliseconds.

Wardrobes, and a probe that found none

Homes got their wardrobes. The inventory catalogue grew to 428 rows with 89 wearable copies and 8 carry-only pieces, 348 colour materials were made for the copies and seven meshes imported: a carcass, a door, a hung top, a jacket, trousers, a dress and shoes. The build that makes them openable went green in the morning. The in-game test then blocked at step two. The probe walked 17 interiors and found no wardrobe in any of them. The cause is a quiet one: the wardrobes are drawn as instanced meshes registered as dynamic world objects, and the check that finds the nearest one only overlaps static world objects. The wardrobe is there, and the finder cannot see it. Owning clothes and wearing them is what people keep asking for, and the wear and take steps are the next test.

Three more in the queue

The evening was James at the keyboard and the agent catching up with him. He asked the agent to search the wishes tally for ideas about growing and distributing cannabis, then corrected the answer: the game already has usable drugs, mushrooms and alcohol. When the shortlist came back he said yes please, that he would add the turf wars and the pickpocketing, and asked what else in the list would work in a British setting. It was the most pleased he sounded all day.

Pickpocketing had its first build go green at the end of the night, with police running a thief down on foot. A test shoot of two clean dips, a bystander's warning, the phone call and the arrest was running at midnight. The turf wars are written and queued behind it: Radworth split down the boulevard into two gangs, one in black socks and one in white, with a crew that jumps a dealer on the other side's patch when no one is looking, punch and kick on the mouse buttons, and police who arrest whoever started it. Two more sets of code sit in the queue, outdoor tables at the chip shop where residents eat out of the paper with a small wooden fork, and betting on the autograss at the bookies. None of it is in the game until its build goes green.

The rest of the day

  • Pub Christmas tree. The tree went in and the lounge is dressed. The bar room was never dressed in 30 tries.
  • Benidorm wildlife. 30 meshes, 26 skins and 10 sounds imported and the map's first standalone run finished. The log counts non-zero animals and no still or GIF frame shows one.
  • Denise. Her new expressive face clips are live, 64 of 64 repointed and checked again after a fresh editor.
  • Hotel washroom. The retake ran every milestone and made 24 stills for James to look at.
  • Blocked. A folded-arms idle for Kieron waited twice on a text-encoder server that never came up. The dog rig import failed because the walk clip does not move the thigh at all, so nothing was saved.
  • Reaching 119. The account stood at 119 followers on Saturday morning, up from 3 in September.

The fault

DLSS Quality showed no gain and Frame Generation logged "not supported on current hardware" in Unreal Engine 5.8

At 66.7 percent screen percentage the engine's own upscaler and DLSS Quality both render about 1067 by 600, so DLSS cannot save GPU time there, and the frame was waiting on the game thread anyway (50 to 65 ms against a GPU at 16 ms). A first verdict said DLSS had not engaged. The log said it had. Frame Generation was refused until Windows hardware-accelerated GPU scheduling was on.

The fix

Switch scheduling on, then counterbalance the windows

With scheduling on, Frame Generation engaged. A single before-and-after pair still lied by about a frame, so the guard is a run that measures the baseline at the start and at the end. The honest figures were 13.2, 14.3, 14.8, 16.2 and 14.3.

The fault

HomeWardrobe.Probe found no wardrobe mesh within 6 m in 17 interiors

The wardrobe rig is an instanced mesh registered as a dynamic world object. The nearest-wardrobe check overlaps static world objects only, so every wardrobe is invisible to it and the test stops before opening one.

The kit

Every gap build backs up to D: first and reverts itself on a red build. The performance runs read the engine's own frame statistics and a CSV per window, graded by script, in mirrored order. Kimodo made the dining clips.

Plain English

TermWhat it means
game threadThe part of the engine that runs the game's own logic - every Blueprint, every tick - one thing after another. If it takes 90 milliseconds, nothing else matters: the frame cannot finish sooner.
DLSSNVIDIA's upscaler: the game draws fewer pixels and a trained model fills in the rest. It saves graphics-card time and does nothing for a frame that is waiting on the game thread.
HAGSA Windows setting that lets the graphics card manage its own queue of work. DLSS Frame Generation refuses to start with it off.
gap buildOne numbered, self-contained batch of C++ changes to the town's code, prepared and checked offline, then compiled into the game in a single build that backs itself up and undoes itself if it fails.
NaniteUnreal's system for drawing extremely detailed models without hand-made LODs. It does not cover everything - foliage and transparency are the awkward cases.
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.

Things we still need to fix tomorrow:

  • Fix the wardrobe finder to see dynamic objects, rebuild, then run the open, take, wear and put-back test.
  • Run the next game-thread measurement with the 16 Blueprint swaps in, and find the 16 milliseconds at the shop.
  • Build the turf wars, the chip-shop tables and the autograss betting, and read the pickpocket shoot.
  • Find out why no animal shows in the Benidorm frames, and why the bar room refused its Christmas dressing.
  • Get the Kimodo text-encoder server up for Kieron's folded idle, and fix the dog walk clip.

← 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