Background
Background

Inside a Team of 300: The Butterfly Effect

A small amber dot surrounded by four widening grey circles on charcoal.

Okay, so let me give you some context. We were about 300 people building one game across internal teams and multiple outsourcing partners. Some people had years of Unreal experience, while for others, it was their first time working with the engine.

The first time I opened the project in Unreal and pressed Play, the editor froze for about 45 seconds. I had no idea why, but I noticed the same freeze on the first press of Play in every fresh editor instance.

The editor opened to our default map, which included a playground for testing movement and gameplay interactions.

The character picker was part of our debug menu, which loaded on every map in the editor or in Test/Dev builds. That meant anyone could hit the freeze on their first press of Play after opening the editor, regardless of which map they were using. Engineers who regularly reopened the editor after compiling code had to sit through it more often.

Why the character picker froze the editor

I traced the freeze to how we built the list of playable characters. To display their names, the picker loaded every character Data Asset, along with the content those assets referenced.

That included new characters, skin variants, art tests, older versions, and copies made to try changes to how a character looked or played. Each added version meant another Data Asset to load on that first press of Play, along with any new dependencies it brought in.

That was the first butterfly effect I noticed on the team. A designer could add a prototype for their own work, and that addition could contribute to a longer wait for someone else the next time they opened the editor and pressed Play.

Shared meshes and class defaults

When several character Data Assets reference the same mesh asset, they share the loaded mesh object. Each Unreal object class has a Class Default Object (CDO) that supplies its defaults. Instances have their own state and can share that mesh. Each distinct character Data Asset still has its own data, and any additional assets it references can add more to load.

Removing the first-Play freeze

I rebuilt the character-switching system so that listing characters and loading them were separate operations. The picker used Unreal’s Asset Manager to build the list while the character assets stayed unloaded. Contributors could add a variant as usual, and the picker could find its name without any extra setup. Once someone selected a character, the framework loaded that character asynchronously, on demand.

Reading character data before loading

For scanned primary assets, the Asset Manager can return FAssetData records with the asset name already available. Extra fields can be saved as Asset Registry tags, for example by marking a property AssetRegistrySearchable. GetTagValue can read a saved tag as a string or convert it to another supported type. That information is available while the character Data Asset is still unloaded.

The first-Play freeze went away. A few teammates thanked me for fixing it, which felt good.

How 45 seconds can add up

These examples assume 45 seconds avoided per affected first Play, counted once per fresh editor session, over a five-day working week. The headcounts and session rates are illustrative. The totals add up waiting time avoided across people.

Affected peopleFresh sessions per person/dayCombined hours/week
50515.625
1001593.75
20030375

For the 100-person example, 45 × 100 × 15 × 5 ÷ 3,600 = 93.75 hours.

Make the improvement carry forward

After the picker fix, I built a broader content management framework for character and cosmetic loading. For the assets it covered, the framework was the required loading path, including for engineers writing C++. I wanted the safeguard to be part of how people loaded content, so it would still apply when someone added a feature months later.

I’ll explore the concepts behind the content-loading framework and its technical details in a follow-up post.

What I learned about working at this scale

When I sat down and did the maths on that freeze, the scale of it hit me, and this was just one delay in one workflow. There are all the little waits and workarounds that come with technical debt. I could see some of them from my desk, while others affected somebody else’s day in ways I might never hear about.

I think negative butterfly effects can become ingrained in a team’s culture when problems like this start to feel normal. Once people get used to working around them, it becomes harder to question why they’re still there. Sometimes you have to step up and push for change, because the whole team is paying the cost.

I think we all share some responsibility for making things easier for the people we work with. It’s easy to say that, but much harder to do. Working with people hasn’t always come easily to me, and teaching technical ideas across disciplines is something I’ve had to work at.

We’re a team of specialists for a reason. I can explain what the editor is loading, and a designer can tell me what they’re trying to test and what that wait costs them. Both of us learn something from that conversation, and I want to help build a culture where we have more of those conversations and look for chances to make each other’s work easier.

Move over the bright dot and follow the line. P pauses. Escape closes the game.

Sigil Trace

Move over the sigil before time runs out.

Score0000
Spells00
Best on this browser0000
I · KINDLE SPELL 01
START

Trace the Sigil with your mouse

Start at the glowing dot and follow the line. No click needed.

or press Enter
Move your mouse onto the bright dot. No click needed.