Unity distribution
Get your Unity build onto a tester's phone.
Build an APK or IPA, upload it, and send one link. Playtesters tap it on their phone and install. No Play Console track, no TestFlight review.
Step 1, Android
Build an APK
- Open File, Build Profiles (File, Build Settings before Unity 6) and pick Android. Click Switch Platform if it isn't active yet.
- Turn off Export Project and Build App Bundle (Google Play). With those off, Unity writes an
.apk. - Click Build, choose a folder, and wait for the APK.
To build without opening the editor, add this script under Assets/Editor/:
using UnityEditor;
using UnityEditor.Build.Reporting;
public static class BuildScript
{
public static void Android()
{
EditorUserBuildSettings.buildAppBundle = false; // .apk, not .aab
var report = BuildPipeline.BuildPlayer(new BuildPlayerOptions
{
scenes = EditorBuildSettingsScene.GetActiveSceneList(EditorBuildSettings.scenes),
locationPathName = "build/Android/game.apk",
target = BuildTarget.Android,
options = BuildOptions.None,
});
if (report.summary.result != BuildResult.Succeeded)
EditorApplication.Exit(1);
}
}Then run it from the project folder with your installed Unity version:
# macOS path; on Windows it's Unity.exe under the Hub's Editor folder
UNITY="/Applications/Unity/Hub/Editor/YOUR_UNITY_VERSION/Unity.app/Contents/MacOS/Unity"
"$UNITY" -batchmode -quit -projectPath . -buildTarget Android \
-executeMethod BuildScript.Android -logFile -Only have an .aab? Run the AAB to APK converter on it. To check the target API level, signing key and 64 bit libraries before you send it, drop the APK into the APK inspector.
Step 1, iOS
Export an IPA for registered devices
iOS only installs a build outside the App Store on iPhones listed in its provisioning profile, so collect your testers' UDIDs first. Send them to Get my UDID, then add the devices in your Apple Developer account.
Unity doesn't make the IPA itself. Building for iOS writes an Xcode project, here Builds/iOS. Open Unity-iPhone.xcodeproj (or the .xcworkspace if your plugins added CocoaPods), set your team under Signing and Capabilities, then Product, Archive. In the Organizer choose Distribute App, then Release Testing.
From the terminal, save this next to the Xcode project as ExportOptions.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>release-testing</string>
<key>teamID</key>
<string>YOUR_TEAM_ID</string>
</dict>
</plist>cd Builds/iOS
xcodebuild -project Unity-iPhone.xcodeproj -scheme Unity-iPhone \
-configuration Release -archivePath build/Game.xcarchive archive
xcodebuild -exportArchive -archivePath build/Game.xcarchive \
-exportOptionsPlist ExportOptions.plist -exportPath build/ipaXcode 15.2 and older call the method ad-hoc. The IPA inspector tells you which devices the IPA will install on before you send it. More on the Apple side in Apple's guide to registered devices.
Step 2
Upload it and send the link
Drop the file on this page, or upload it from wherever you build. Every upload of the same app goes under one link, so playtesters always land on the newest build and you don't send a new file each time.
npx appdropper upload build/Android/game.apkThe first run opens your browser to sign in. After that it prints the install link and a QR code in the terminal. Add --notes "New level 3" to tell testers what changed.
name: Beta
on:
push:
branches: [main]
jobs:
android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: actions/cache@v4
with:
path: Library
key: Library-Android
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: Android
buildName: game
- id: appdropper
uses: appdropper-io/upload-action@v1
with:
file: build/Android/game.apk
token: ${{ secrets.APPDROPPER_TOKEN }}
- run: echo "Install at ${{ steps.appdropper.outputs.install-url }}"The build step is GameCI's Unity builder, which needs your Unity license in the three UNITY_ secrets (their activation guide covers it). Make an App Dropper token under Settings, API tokens, and save it as APPDROPPER_TOKEN. On pull requests the action also comments the install link.
Playtesters who use the App Dropper app get a push for each new build and can send feedback on it, which lands in your dashboard.
Unity distribution questions
Do I need a keystore before testers can install it?
No. With no custom keystore in Publishing Settings, Unity signs the APK with the debug keystore on your machine, and that installs on any Android phone. The debug key is different on every computer, though, so a build from a teammate's laptop or CI won't install over yours. Make a keystore with the Keystore Manager in Publishing Settings once more than one machine builds, and before you publish to Play.
Should I send an APK or an AAB?
An APK. Phones only install APKs; an .aab is what you upload to Google Play. Turn off Build App Bundle (Google Play) for tester builds. If an .aab is all you have, the AAB to APK converter turns it into one APK you can share.
My APK is too big. What can I do?
Free uploads go up to 150 MB and Pro up to 500 MB. To shrink a Unity APK, build for ARM64 only under Player Settings, Other Settings, Target Architectures (almost every phone in use is ARM64), and check texture compression. Keep Split Application Binary off for tester builds: it moves assets into an .obb file that a sideloaded APK can't find.
Is a Development Build fine for testers?
Yes, if you want logs or the profiler attached. It runs on its own and shows a small Development Build label in the corner. Turn it off for builds you want to look like the release.
Why can't my iPhone testers install it?
Outside the App Store and TestFlight, iOS only installs a build on devices registered in its provisioning profile. Collect each tester's UDID, add it in your Apple Developer account, then archive and export again. App Dropper's device page collects UDIDs for you: testers open a link on their iPhone and tap once.
Can testers get the next build automatically?
Testers who join your app get an email or a push notification each time you upload a build, and the same link always serves the newest one. Builds are kept for 7 days on Free, 30 on Pro, 90 on Studio, and on Pro and Studio an app's latest build never expires.
Upload your build
Drop the .apk or .ipa. You get an install link and a QR code.
Drag & drop your build
or browse files — .apk or .ipa, up to 150 MB