SUBSCRIBE
Tech Journal Now
  • Home
  • News
  • AI
  • Reviews
  • Guides
  • Best Buy
  • Software
  • Games
Reading: A former Valve dev revealed how, while a VR version of Half-Life 2 was being made, a single metro cop’s toe created a ‘time-travelling’ bug that softlocked all versions of the game
Share
Tech Journal NowTech Journal Now
Font ResizerAa
  • News
  • Reviews
  • Guides
  • AI
  • Best Buy
  • Games
  • Software
Search
  • Home
  • News
  • AI
  • Reviews
  • Guides
  • Best Buy
  • Software
  • Games
Have an existing account? Sign In
Follow US
© Foxiz News Network. Ruby Design Company. All Rights Reserved.
Tech Journal Now > Games > A former Valve dev revealed how, while a VR version of Half-Life 2 was being made, a single metro cop’s toe created a ‘time-travelling’ bug that softlocked all versions of the game
Games

A former Valve dev revealed how, while a VR version of Half-Life 2 was being made, a single metro cop’s toe created a ‘time-travelling’ bug that softlocked all versions of the game

News Room
Last updated: November 22, 2025 10:47 pm
News Room
Share
5 Min Read
SHARE

One of the coolest things about Half-Life 2 is its physics engine, but as anyone who has played a physics-based game will know, even the best-in-class tech is prone to quirks here and there. Valve’s legendary narrative shooter was no exception, as former Valve developer Tom Forsyth shared in a thread on Mastodon.

In the thread, Forsyth discusses a bug he encountered while working on a VR version of Half-Life 2, back in 2013 when Valve was considering where it wanted to go with the technology. HL2 was one of the easiest translations to VR in Valve’s back catalog—it was a relatively recent release, and the “tricks with perspective” in Portal “were of course a nauseating disaster.” The problem was, this new VR build softlocked the player mere minutes into the game.

In the opening scene, when a metro cop is meant to usher the player through a door, the door wouldn’t open in the VR build for reasons that weren’t clear, freezing the player in place to wait for a necessary story event that never comes. “Oh dear,” Tom Forsyth recalled in his thread. “We can’t ship this. I get some other folks, including some folks who worked on HL2 originally, and yep—it’s broken. And it’s broken when you’re not in VR either—so it’s not something Joe and I broke. But nobody knows why—none of the relevant code has changed.”


Best picks for you

(Image credit: Valve / Tom Forsyth)

The team soon discovered a guard behind the door was standing “very slightly too close—the very corner of his bounding box intersects the door’s path as it opens. So what’s happening is the door starts to open, slightly nudges into the guard’s toe, bounces back, closes, and then automatically locks.” They moved the NPC and fixed the bug, but it took a much lengthier investigation to figure out why this happened in the first place; the VR build didn’t move the NPC, and the team even recompiled the original build to discover that the bug had “traveled through time” and existed in that one, too.

The thread continues with the answer: “Good old floating point.” The compiler used for these tests defaulted to the newer SSE instruction set rather than the set the original would have defaulted to for the era’s CPUs: x87, which has “a wacky grab-bag of precisions.” Even though it was old code, the new compiler meant the game was calculating physics differently, albeit to an extremely subtle extent.

Forsyth explained, “On both versions, the door has just enough momentum to rotate the guard very slightly. The guard’s friction on the floor is not quite enough to oppose this, and he rotates a tiny fraction of a degree. On the x87 version, this tiny rotation is enough to move his toe out of the way, the collision is resolved, and the door continues to swing open. All is well.

But on the SSE version, a whole bunch of tiny precisions are very slightly different, and a combination of the friction on the floor and the mass of the objects means the guard still rotates from the collision, but now he rotates very slightly less far. So on the next frame of simulation, his toe is still in the way of the door. The door isn’t allowed to just pass through his toe, so it does the only other option—it bounces back … and you’re stuck.”

Keep up to date with the most important stories and the best deals, as picked by the PC Gamer team.

It’s a bizarre head trip of a bug, and a great reminder that these things are rarely as easy to resolve as you might expect. The next time you gripe about a seesaw puzzle, just think about everything that could have gone wrong getting it to work.

Read the full article here

You Might Also Like

One of the most shocking moments in Critical Role’s 4th D&D campaign was planned from the jump—yet with enough left to chance that Alexander Ward ‘did leave the table thinking I’d really f*cked up’

Consume Me is a devastatingly accurate insight into diet culture and how all-consuming it is trying to attain the perfect lifestyle

House Flipper 2 brings back the pets in an upcoming DLC that will add dozens of cats and dogs as well as hamster, bunnies, snakes, and a bunch of other cute critters to adopt

Battlefield 6 fiddles with the pace of Conquest mode but somehow avoids giving the people what they want: ‘Remove the timer’

It took 14 years for a streamer to walk to the Far Lands in Minecraft, but his long journey is finally over

Share This Article
Facebook Twitter Email Print
Leave a comment Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

- Advertisement -
Ad image

Trending Stories

Games

How to complete The Major’s Footlocker in Arc Raiders

November 23, 2025
Games

It’s a shame HoYoverse’s new game is sporting offensively cheap-looking character models because everything else has me sold on its paranormal cop mystery

November 23, 2025
Games

Ahead of Black Friday, Fanatical has dropped more comic and book bundles than I know what to do with, covering Dragon Age, Mass Effect, Cyberpunk 2077, Halo, and more

November 23, 2025
Games

The original Dawn of War games have 109 new Steam achievements after 20 years—if you have the definitive edition, at least

November 23, 2025
Games

The League of Legends trading card game is surprisingly good because it embraces the best trends in card games

November 23, 2025
Games

Constance is a metroidvania that wants its monsters to mean something

November 23, 2025

Always Stay Up to Date

Subscribe to our newsletter to get our newest articles instantly!

Follow US on Social Media

Facebook Youtube Steam Twitch Unity

2024 © Prices.com LLC. All Rights Reserved.

Tech Journal Now

Quick Links

  • Privacy Policy
  • Terms of use
  • For Advertisers
  • Contact
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?