https://egmatic.com/blog/game-wont-export-common-fixes

Game Won't Export? 7 Common Fixes That Actually Work

July 20, 2026 (updated November 14, 2026) · Vladislav Kovnerov · 10

A game that fails to export has already done the hard part — it compiles, it runs, you can play it in the editor or even as a desktop build. The failure is the step after that: packaging the runnable game for a specific platform such as Android, iOS, or the web. Export errors are a distinct class from build errors, which stop compilation, and runtime bugs, which only appear during play. They almost always trace to a small number of platform-config issues rather than anything wrong with your gameplay code.

This guide walks the seven export failures that recur across Godot, Unity, GameMaker, and MonoGame, with the exact setting behind each and a diagnostic order that works in any engine. The rule throughout is simple: read the export log, find the stage that fails, and fix the configuration it names.

One thing to internalize before the fixes: export errors are rarely about your code. They are about the bridge between "a game that runs on my machine" and "a signed package a store will accept" — keystores, certificates, export templates, target architectures, and SDK versions. Consoles add their own gate on top: getting an indie game on consoles is a paperwork path as much as a technical one. The fixes below address those bridges.

Build error, export error, or runtime bug?

The useful distinction is which stage fails.

Build errorExport errorRuntime bug
When it failsCompiling or packaging the projectProducing a platform-specific packageWhile the game is running
ResultNo runnable build at allA desktop build may work, but Android, iOS, or web does notA build runs but misbehaves
Typical causeCode that will not compile, missing assetsPlatform config: templates, signing, architecture, SDKLogic that compiles but is wrong at play time
Where to lookThe compile logThe export logThe running game

If your game runs in the editor and even produces a Windows build, but the Android export hangs or throws, you are in the export-error column, and the rest of this guide applies. For failures that happen before you have a runnable build, read the companion piece on build errors instead.

The diagnostic order (works in any engine)

  1. Read the export log. Export failures almost always name the missing piece — "no export template", "no keystore set", "ARM64 not selected", "provisioning profile not found". That message is the fix.
  2. Identify the stage. Does it fail at template load, code generation for the target (IL2CPP), signing, or the final package step? Each maps to one of the fixes below.
  3. Check the target's requirements, not just your project. Stores raise their requirements over time, so an export that worked last year can fail today because Google Play now demands a newer API level.

The seven fixes

1. Install the matching export templates (Godot)

Godot exports through per-platform export templates — prebuilt binaries that do the actual packaging. If the template for your target is missing, or if its version does not match your editor exactly, the export fails with a "templates missing" or version-mismatch message. This is the single most common Godot export failure.

Install them from Editor → Manage Export Templates → Download and Install, for the exact editor version you run. Two gotchas: the template version must match the editor down to the patch (a 4.5.1 editor needs 4.5.1 templates), and if you use the .NET/C# build of Godot you need the mono templates, not the standard ones. Re-download after every editor upgrade.

2. Switch to IL2CPP and enable ARM64 (Unity mobile)

Google Play has required 64-bit (ARM64) Android packages since 2019, and Apple requires 64-bit for iOS. In Unity, ARM64 is only available with the IL2CPP scripting backend — the Mono backend does not support ARM64 on mobile at all. An export configured for Mono, or with ARM64 unticked, therefore fails store requirements even though it builds.

The fix is in Player Settings → Other Settings: set Scripting Backend to IL2CPP, then under Target Architecture enable ARM64. IL2CPP builds are slower to produce, which is a separate problem covered in the guide to slow builds, but it is the only path to a store-accepted mobile package.

3. Set up Android signing (keystore)

An unsigned Android package cannot be uploaded to a store, and most engines refuse to produce a release build without a keystore configured. The failure shows up as a signing error at the end of the export or a "package not signed" rejection from the Play Console.

Create a keystore once (Unity does this in Player Settings → Publishing Settings; the underlying tool is the Android keytool command) and point your export preset at it, with the alias and passwords filled in. Keep the keystore and its passwords safe. With Play App Signing, Google can reset a lost upload key; this is separate from the app signing key. If you manage app signing yourself and lose that signing key, you cannot issue an update with the original signature.

4. Sort out iOS certificates and provisioning

iOS export is the strictest because Apple ties every build to a signing identity. To publish on the App Store you need an Apple Developer Program membership (99 USD per year), a signing certificate, a provisioning profile tied to your app’s bundle ID, and a Mac running Xcode — there is no supported path to produce an iOS store build from Windows or Linux. The export fails when any of these is missing, expired, or mismatched.

Generate the certificate and profile in the Apple Developer portal, download them, and reference them in your engine's iOS export settings (or, in Unity, let Xcode manage signing when you build an Xcode project). For direct installation of a test build, register the device in a development or Ad Hoc profile. App Store distribution does not require a test-device list.

5. Meet the store's target API level and SDK

Stores raise their required platform versions on a schedule, and an export that targets an older level is rejected — often after the export succeeds, at upload time. Google Play has required new apps and updates to target Android 16 (API level 36) since August 31, 2026; existing apps need Android 15 (API level 35) or higher to stay visible to users on newer devices. Apple requires a 64-bit package built with a current Xcode, and the App Store periodically raises the minimum iOS version it accepts.

In your export settings, set the target to the current required level, keep the platform SDK and build tools up to date, and rebuild. This is a moving target, so check the store's current requirement before each release rather than trusting last year's setup.

6. Check your export preset's resource and scene filters

An export can finish cleanly and then crash on the device because a resource the game needs was filtered out of the package. In Godot, the export preset's resource filters decide what ships; a filtered-out scene or asset exists in the editor but not in the exported game. In Unity, the equivalent is the Scenes In Build list in Build Settings — a scene referenced from code but absent from that list works in the editor and is missing from the build.

Open the preset, confirm every scene and asset the game loads at runtime is included, and export again. This failure often looks like a runtime bug ("my level is blank") but is really an export-config gap.

7. Clean the export cache

A few export failures have no logical cause — an asset that packaged fine yesterday now fails, or the export breaks on one machine and not another. The cause is a corrupted intermediate cache, and the fix is a clean re-export. This is the one case where clearing the cache first is correct, because there is no real misconfiguration to read.

EngineWhat to cleanNotes
UnityDelete Library, Temp, and the obj foldersForces a full re-import; next export is slower
GodotDelete .godot/imported (or the whole .godot folder)Re-imports every asset on next open
MonoGame / .NETdotnet clean, or delete bin and objRecompiles from scratch
GameMakerClean Build in the build menuClears cached compile output

Always clean on a backed-up project, and prefer the engine's own clean command where it has one.

Preventing export failures

Most export problems are process, not code.

If the export itself is not the problem but the broader publishing process is — choosing stores, signing up, submitting — see the guide to publishing on all platforms, and for why you would target many platforms at all, multiplatform export explained.

How Egmatic fits

Egmatic is a 2D IDE and engine built on MonoGame, and that shapes the export story in a way that removes a few of these failure classes outright. There is no IL2CPP step, so the ARM64 and scripting-backend trap in fix 2 does not exist; the game compiles with the standard .NET toolchain and produces platform packages through the regular MonoGame pipeline. The content pipeline (MGCB) processes every asset at build time and reports a missing or invalid asset as a named error, which is exactly the gap fix 6 describes — a filtered-out or broken asset surfaces as an explicit message, not a blank screen on the device. And the live preview lets you run the game inside the editor without a full export, so most issues are caught before the export step rather than during it.

The trade-off is that MonoGame's mobile and console paths are more manual than Unity's or Godot's — you bring the platform SDK and signing setup yourself. For desktop platforms (Windows, macOS, Linux) the path is straightforward. If you want the foundation Egmatic compiles to, the MonoGame explainer covers it, and for telling an export failure apart from a compile failure, the build errors guide is the companion piece to this one.

The bottom line

An export failure is a packaging problem, not a gameplay problem. Your game works; the bridge to the platform is misconfigured. Read the export log, find which stage fails — templates, scripting backend, signing, store requirements, resource filters, or cache — and fix that configuration. Do it early, on every target, and export failures stop blocking your release.

Additional verification sources: Google Play signing and upload-key reset, Apple provisioning profiles.

FAQ

Why won't my game export?

Because the game itself compiles and runs — what fails is the step that packages it for a specific platform: Android, iOS, or the web. This is an export error, distinct from a build error, which stops compilation, and a runtime bug, which only appears during play. Export failures are almost always configuration problems: missing export templates, the wrong scripting backend, missing signing keys, an unmet store requirement, or a corrupted cache.

Why does my game build for desktop but fail to export to Android?

Because Android has requirements desktop builds do not. The package must be 64-bit (ARM64), which in Unity means switching to the IL2CPP scripting backend; it must be signed with a keystore; and it must target the API level Google Play currently requires (Android 16, API level 36). In Godot the most common cause is a missing or version-mismatched Android export template. Desktop builds skip all of these, which is why they succeed where the Android export fails.

Do I need a Mac to export a game to iOS?

Yes, local iOS builds require macOS and Xcode. App Store distribution requires signing, a provisioning profile, and Apple Developer Program membership (99 USD per year). Personal on-device testing can use a free Apple account with limitations. There is no supported way to produce a signed iOS store build from Windows or Linux. Some toolchains compile on the cloud, but the signing step still goes through Apple's infrastructure.

Why is Godot telling me my export templates are missing?

Because Godot exports through prebuilt per-platform binaries called export templates, and they are not bundled with the editor. Install them from Editor → Manage Export Templates → Download and Install, for the exact version of the editor you run. If you use the .NET or C# build of Godot you need the mono templates, not the standard ones. Re-download them whenever you upgrade the editor.

What is IL2CPP and why does my mobile export need it?

IL2CPP is Unity's scripting backend that converts C# to C++ before compilation. It is required for 64-bit mobile builds because the alternative, the Mono backend, does not support ARM64 — and both Google Play and Apple require 64-bit packages. You enable it in Player Settings → Other Settings by setting Scripting Backend to IL2CPP and ticking ARM64 under Target Architecture. IL2CPP builds are slower to produce but are the only path to a store-accepted mobile package.

Can an export succeed and still be broken on the device?

Yes — when a resource the game needs is filtered out of the package. In Godot the export preset's resource filters decide what ships; in Unity it is the Scenes In Build list. A scene or asset that exists in the editor but is excluded from the export produces a package that opens and then fails on the device, often as a blank level or a missing-file error. Always confirm your export preset includes everything the game loads at runtime.