Quick answer: Find when frame drops happen, spread heavy work across frames, load asynchronously off the main thread, and optimize the operations that spike the frame time, frame drops are moments where a frame takes too long.
Frame drops, moments where the frame rate dips and the game stutters, break immersion. Here are the best ways to reduce frame drops.
Find When the Frame Drops Happen
Reduce frame drops by finding when they happen, during which actions, scenes, or events, since drops occur at specific moments when something makes a frame take too long. Knowing when narrows down the expensive operation causing them.
Bugnet captures performance data with device context from the field, so you can see when frame drops happen and on which devices, correlating them with what the game is doing then, the first step to finding the cause.
Spread Heavy Work Across Frames
Reduce frame drops by spreading heavy work across multiple frames instead of doing it all at once, so no single frame takes too long. A heavy operation (spawning many objects, a big calculation) done in one frame causes a drop, spreading it smooths the frame time.
Bugnet's data showing when drops occur helps you find the heavy operations to spread, so you can address the specific moments that spike the frame time rather than guessing where the drops come from.
Load Asynchronously Off the Main Thread
Reduce frame drops from loading by loading asynchronously off the main thread, so loading does not block frames. Loading on the main thread causes a drop (or freeze) while it runs, moving it off keeps frames smooth.
Bugnet captures the freezes and drops from main-thread loading (with context), so you can see when loading is blocking frames and move it off the main thread, then verify per version the drops at load moments stopped.
Reduce frame drops by finding when they happen, spreading heavy work across frames, loading asynchronously off the main thread, and optimizing the operations that spike the frame time. Frame drops are frames that take too long.