Author

Robert Troughton

Robert Troughton has 28 articles published.

Avatar
Posted on

The Long and Winding Path of the Cook

Long file path problems are commonplace when cooking with UE4. We took a look at it - and found that the engine was being too aggressive with its checks for whether or not a path really was too long … Read More

Posted on

The Case of the Locked File

We were seeing frequent file IO errors in relation to temporary files created during cooking (particularly when compiling shaders). Our findings for why this were happening were surprising. Here we present a clean way to fix the issues … Read More

Posted on

Sign Of The Times

PVS-Studio pointed us toward some code with suspiciously mixed signed/unsigned math. This was actually causing some issues - and here we tell you how to fix them … Read More

Posted on

Speeding Up The Time Limit Controls

When a process takes a long time to complete, it makes absolute sense to put some time limit checks in so that you're not starving other work. What you don't want to do, of course, is to have those checks slow your original task down further by any considerable amount - here, we found that exactly this was happening .. so we present a solution … Read More

Posted on

Portrait Of A Serialize Perf Killer

With performance critical editor and cooker code, it's well advised to consider performance when adding tests for rare errors. Here we take a look at this and show by, by considering the CPU pipeline and code cache, a simple change can yield a significant performance improvement without reducing stability … Read More

Posted on

Sweeping Up And Disassembling A Physics Macro

Macros can often be useful to make certain programming tasks simpler - but they can also cause hidden performance headaches that might otherwise be avoided. Here we look at one of those - and how to improve it … Read More

Posted on

The Smallest, Coolest Optimization

While profiling a game's runtime, we found that 40% of memory allocations were coming from a single function. The fix/optimization involves adding a single character … Read More

Go to Top