Scenario Unity mobile
For a Unity 6.3 game targets Android or iOS.
In detail
Use when a Unity 6.3 game targets Android or iOS: phone frame budget, overheating after 20 minutes, 'my game stutters on phones', ASTC or ETC2 textures, audio import, URP mobile settings, touch controls, on-screen joystick, UI under the notch or safe area, slow startup, ANRs, 'Android build fails', AAB, keystore signing, target API 36, Google Play upload, iOS Xcode export or archive, privacy manifest, app size, in-app purchases (IAP 5), rewarded ads (LevelPlay), ad consent.
Safety check
- Script runs other programs or code: scripts/ut_mobile.py line 30
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: scenario-unity-mobile
description: "Use when a Unity 6.3 game targets Android or iOS: phone frame budget, overheating after 20 minutes, 'my game stutters on phones', ASTC or ETC2 textures, audio import, URP mobile settings, touch controls, on-screen joystick, UI under the notch or safe area, slow startup, ANRs, 'Android build fails', AAB, keystore signing, target API 36, Google Play upload, iOS Xcode export or archive, privacy manifest, app size, in-app purchases (IAP 5), rewarded ads (LevelPlay), ad consent."
license: MIT
---
# Unity mobile (mobile specialist)
Expert mobile work means a game that holds its frame rate after twenty minutes on a three-year-old
phone, starts fast, installs from the store, and never double-charges or double-grants. The stance:
budget the sustained frame, prove every setting on the data the device gets (imported format, built
bundle, exported Xcode project), and treat stores, SDKs and money code as contracts with ugly event
orders. Target: Unity 6000.3.21f1, URP 17.3, Input System 1.20, macOS with Xcode 26.6. If a sibling
skill named here is missing from your available skills, load it with `skill_get` (Scenario MCP) or
ask the user to install it (https://github.com/scenario-labs/skills#install); unattended, proceed
from tool schemas and flag the gap.
**REQUIRED BACKGROUND:** scenario-unity-expert (channels, review loop, 6.3 traps). Toolkit:
[`scripts/ut_mobile.py`](scripts/ut_mobile.py) (imports `ut_env`, `ut_run`, `ut_stat`), editor jobs
in [`scripts/AgentKit/Mobile/`](scripts/AgentKit/Mobile/), player code in
[`scripts/Runtime/`](scripts/Runtime/).
## Stance (the expert delta)
1. **Budget the sustained frame, not the peak.** About 65% of 1000/fps (10.8 ms at 60, 21.7 ms at
30), judged on p95 and max, on the lowest phone, short bursts, 10 to 15 minutes of cooldown;
assume vsync, so a missed refresh halves the rate (Unity mobile e-book). Under heat, lower render
scale first only when the GPU is the bottleneck: resolution barely helps a CPU-bound frame (6.3
Manual). Prove the policy with synthetic thermal events, not a hot phone (d5O4Uw6gPBI
[00:04:21]). Editor timings are relative; draw and SetPass counts are the stable Editor evidence
(observed).
2. **Check the effective format, then lock the rule.** A texture the GPU cannot sample is
decompressed to RGBA32 on the CPU (6.3 Manual); an HDR map without an ASTC HDR override imported
as ETC2_RGBA8 (observed). ASTC 4x4 UI and faces, 6x6 default, 8x8 big environment maps [added];
crunch does nothing on ASTC. Audio: WAV sources, mono SFX at 22,050 Hz at most, ADPCM under 200
KB, Streaming only above about 400 KB (e-book). An `AssetPostprocessor` keeps new assets
compliant (Unity Enterprise Support, j4YAY36xjwE [00:19:07]).
3. **Mobile URP is not PC URP with a lower slider.** Depth Priming Disabled (unsupported on Android,
iOS and TBDR), Native RenderPass on, Depth and Opaque textures off unless sampled, HDR off or
32-bit, soft shadows off, Store Actions Auto or Discard (6.3 Manual). One URP asset per Quality
...From scenario-labs's repository, MIT licence.
Related skills
-
Checked
Android Gradle Plugin upgrade
Moves Kotlin Multiplatform projects to Android Gradle Plugin 9 and fixes the build failures it causes.
8/101 credit -
Checked
CocoaPods to SwiftPM
Moves Kotlin Multiplatform projects from CocoaPods to Swift Package Manager and updates the Xcode project.
8/101 credit -
Checked
Kotlin Native build speed
Diagnoses and fixes slow Kotlin/Native iOS builds in Kotlin Multiplatform projects, both locally and on CI.
7/101 credit -
Checked
SwiftUI Liquid Glass
Adds and reviews Liquid Glass in SwiftUI apps for iOS 26, avoiding pitfalls with bars, buttons and scrolling.
7/101 credit -
Checked
Native Mobile App Design
Designs Expo and React Native screens that feel truly native, with proper navigation, motion and dark mode.
7/101 credit -
Checked
Offline Android LLM apps
Builds an Android app that runs an open LLM on the phone with LiteRT, so it works without a server.
7/101 credit