Our client’s Unity 3D game was targeting both mobile browsers and desktop browsers, but these platforms have very different performance characteristics and resource requirements. Using the same build for both environments resulted in longer load times, unnecessary asset sizes, and suboptimal performance on mobile devices.
To solve this, we developed a fully automated dual-build system that generates optimized builds for both Mobile Web and Desktop Web platforms.
What We Did
- Automated Build Pipeline – Implemented a system that prepares two separate builds (mobile and desktop) in one process.
- Optimized Asset Management – Adjusted settings per platform, including:
- Texture compression formats
- Texture resolutions
- Audio compression settings
- Dynamic Asset Bundles – Generated fresh sets of AssetBundles tailored for each platform to reduce load time and memory usage.
- Conditional Compilation – Used Unity’s Scripting Define Symbols to control platform-specific logic and features automatically.
- Performance Improvements – Ensured faster load times for mobile users while preserving high-quality assets and performance on desktop.
Results
The new build system significantly improved load speed, resource efficiency, and player experience across both web platforms. It also streamlined the release process, reducing manual effort and minimizing human error during deployment.
Technologies Used:
Unity 3D, C#