Build Instructions

General

  • Build Settings: Use Smaller (faster) Builds / Shorter Build Time.
  • Player Settings: Use IL2CPP over Mono when available.
  • Stripping Level: Set Managed Stripping Level to Minimal (Player Settings > Other Settings > Optimization). (Generally not a hard requirement unless using WalletConnect as a wallet provider option.)

WebGL

  • WebGL Template: None enforced, feel free to customize!
  • Compression Format: Set to Disabled (Player Settings > Publishing Settings) for final builds.
  • Testing WebGL Social Login Locally: Host the build or run it locally with Cross-Origin-Opener-Policy set to same-origin-allow-popups.

Example setup for testing In-App or Ecosystem Wallet Social Login locally:

// YourWebGLOutputFolder/server.js
const express = require("express");
const app = express();
const port = 8000;
app.use((req, res, next) => {
res.header(
"Cross-Origin-Opener-Policy",
"same-origin-allow-popups",
);
next();
});
app.use(express.static("."));
app.listen(port, () =>
console.log(`Server running on http://localhost:${port}`),
);
// run it with `node server.js`

No action needed for hosted builds.

Mobile

  • EDM4U: Comes with the package, resolves dependencies at runtime. Use Force Resolve from Assets > External Dependency Manager > Android Resolver.
  • Redirect Schemes: Set custom schemes matching your bundle ID in Plugins/AndroidManifest.xml or equivalent to ensure OAuth redirects.