Keeping a Unity game cool on a phone
Most of the heat came from screens nobody was looking at.

I make two games at Matterward Labs, Narrow Front and Siren Jam. Both are built in Unity 6 and ship to Android and iOS. During development both had the same two problems: a black screen after the splash, and a phone that got warm on the main menu before I’d played anything. This piece collects the habits that fixed them. It’s a general guide, built on Unity’s and Android’s own documentation, and it doesn’t describe either game’s internals.
In short
- Measure on a real phone. The editor hides almost everything a phone complains about.
- Ask for high frame rates only when something moves, and stop drawing what nobody can see.
- Never show a black screen. Show your own logo at once and load in stages behind it.
Measure on the phone, not in the editor
Neither problem showed up in the Unity Editor. A desktop machine with a big GPU and a fan hides almost everything a phone will complain about. The only measurements that mattered came from real builds running on a real device.
A few habits made those measurements trustworthy:
- Profile a device build. Unity’s Profiler can attach to a development build on a phone, and the frame timing manager reports CPU and GPU frame times on Android and iOS.
- Record cold starts. Launch from nothing, film or log the first seconds, and look for gaps.
- Watch temperature over minutes. Heat builds slowly. A single frame tells you very little; a five-minute curve on an idle menu tells you a lot.
- Compare like with like. Many mobile GPUs slow their own clocks when the load is light, so a nearly idle scene can report a GPU time close to the whole frame. GPU milliseconds are only comparable between runs at similar load.
Once a game is live, Google Play’s Android vitals adds field data from real players’ devices, which no desk can reproduce.
Ask for 60 frames only when something moves
A menu or a puzzle the player is thinking about doesn’t need 60 frames a second. Unity’s documentation for Application.targetFrameRate says as much for Android: reducing the frame rate conserves battery and helps avoid overheating, and by default Unity renders at a fixed 30 frames a second there unless you ask for more.
The pattern that worked for me is to raise the frame rate only while something is moving or the player is touching the screen, then let it fall back on calm screens. Animation, scrolling and the moments just after a tap stay smooth, and a static screen stops burning power for frames nobody can tell apart. It’s also worth letting the screen sleep on menus. Keeping it awake belongs to active play.
Spend pixels where the player looks
Modern phones have far more pixels than a stylised low-poly scene needs. The Universal Render Pipeline has a render scale setting that draws the 3D view at a lower resolution than the screen and scales it up. User interface drawn in screen space stays at native resolution, so text and icons remain sharp while the world costs less.

The same thinking applies to everything else in the pipeline. Choose one anti-aliasing approach instead of stacking several that smooth the same edges. Fit shadow distance to what the camera can actually see, because a smaller shadow area at a moderate resolution often looks sharper than a large one at a high resolution. Treat each post-processing effect as a cost you’re choosing to pay, and ask whether the player would miss it on a six-inch screen.
Don’t draw what nobody can see
The largest saving was the simplest
When a full-screen menu covers the 3D world, stop rendering the 3D world.
A camera that keeps drawing a detailed scene behind an opaque menu is spending the phone’s battery on pixels that are thrown away. Build the world when a screen needs it, switch it off when one doesn’t, and paint menus over something cheap.
Smaller habits add up as well. Keep animated interface elements apart from static ones so a pulsing button doesn’t force everything around it to be rebuilt. Update text only when its value changes. Let objects that have come to rest stop updating. Reuse effects instead of creating new objects for every spark.
Never show a black screen
A blank screen reads as a crash
Show something of your own as soon as the engine can draw, ideally the same logo the splash showed, so the hand-off is invisible. Then load in stages behind it.
Doing everything in one frame at start-up is what causes the black gap. Spread the work out:
- Load content asynchronously, and only what the current screen needs.
- Build large scenes across several frames.
- Move pure computation that doesn’t touch engine objects onto a worker thread; most of Unity’s own API has to stay on the main thread.
- Prepare what the first seconds of play will need before play starts, so the first explosion or the first unit doesn’t cause a hitch.
Log how long each stage takes from the very first build. A regression is much easier to catch as a number than as a feeling.
Adapt when the phone is under strain
Even a well-behaved game can push a phone hard during a busy moment. Android’s Dynamic Performance Framework lets a game read the device’s thermal state and react before the system throttles it, and Unity offers an Adaptive Performance package that builds on it.
Whatever signal you use, the principle is the same. When frames keep missing, step down the least visible costs first, one at a time. Step back up slowly. Heat carries over between sessions, so a sensible quality level can carry over too.
Check what you actually ship
Download size matters to players on limited data plans, and on Google Play an Android App Bundle lets the store deliver only what each device needs. Measure the package itself, not just the editor’s build report, which describes assets before compression and can make the wrong things look large. It’s also worth starting each release build from a clean output, because stale leftovers from earlier builds can quietly add megabytes.
Shipping to both stores from one project brings its own rhythm. iOS builds need a Mac and Xcode, and the two stores’ review times differ, so plan version numbers and release notes with that gap in mind.
What I’d do from day one
Both of these problems were invisible from my desk, so on a new project I’d put the routine in place before the first menu exists:
- Set a frame-rate policy and a pixel budget.
- Build the 3D world only when a screen needs it.
- Log start-up stages and frame times from the first build.
- Keep a simple routine for installing a build, recording a cold start and sampling temperatures.
Unity’s optimisation section of the manual links to its profiling guides and mobile e-book, which go much deeper than this. If you’re curious about the games themselves, the games page has both trailers, and why Narrow Front’s battles are decided off screen explains the decision that made the view so easy to slim down.
Sources & further reading
- Unity Manual: Optimization (Unity 6)
- Unity Scripting API: Application.targetFrameRate
- Unity Manual: Frame timing manager
- Unity Manual: Universal Render Pipeline asset reference
- Android Developers: Android Dynamic Performance Framework
- Android Developers: Android vitals
- Android Developers: About Android App Bundles