Heroic Engine
  • Welcome
  • Getting Started
    • Quickstart
    • Example Games
      • Tic Tac Toe
      • Turn based duel
  • Basics
    • Injection Manager
    • Engine Systems
      • Core Systems
        • Events Manager
        • Input Manager
        • Localization Manager
          • LangText component
        • Music Player
        • Sounds Manager
        • Time Manager
        • Scenes Loader
        • Day Time Controller
        • Weather Controller
      • Gameplay Systems
        • Currencies Manager
        • Player Progression Manager
        • Quest Manager
        • Random Events Manager
        • Hittables Manager
        • Dungeon Generator
      • UI Systems
        • UI Controller
        • Countdown Controller
    • Editor Tools
      • Clear Saves
      • Mobile Build Optimizer
      • Create System
      • Icon from Prefab Generator
    • Engine Utilities
      • PoolSystem
      • DataSaver
      • ComponentExtensions
      • MaterialExtensions
      • SpriteUtils
      • SlowUpdate
      • StringUtils
      • TypeUtility
      • MathHelper
      • VectorUtils
      • TransformUtils
      • MeshUtils
    • Useful Components
      • Floating Item
      • Fly Up Text
      • Label Scaler
      • Ragdoll
      • Rotate To Camera
      • Orbital Camera
      • Rotator
      • Texture Mover
      • Hittable
      • Projectile
      • Projectile2D
      • LifetimeObject
      • Spawner
      • Colorized Particles
      • Draggable2D
      • SaveableTransform
    • Useful Attributes
Powered by GitBook
On this page
  1. Basics
  2. Editor Tools

Mobile Build Optimizer

PreviousClear SavesNextCreate System

Last updated 3 months ago

This tool provides functionality for optimizing mobile builds in 1 click: it automatically optimizes image assets, meshes, audio files and project settings to decrease the size of future build file without visible loss of graphics quality.

Available Actions

Optimize Textures

If you click this, Optimizer tool looks into every image asset in project and does next things with it:

  • sets maximum texture size to 1024 pixels

  • enables crunch compression with 100% quality level

  • enables mipmap

In most of cases there is no need to have big textures with more than 1024x1024 resolution on mobile devices


Optimize Models

If you click this, Optimizer tool looks into every mesh asset in project and does next things with it:

  • disables tangents (tangents are almost useless on mobile devices and doesn't actually affect graphics quality)

  • enables mesh compression


Optimize Audio

If you click this, Optimizer tool looks into every audio asset in project and does next things with it:

  • if audio file is less than 200 Kb, sets load type to DecompressOnLoad

  • if audio file is more than 200 Kb but less than 2 Mb, sets load type to CompressedInMemory

  • otherwise sets load type to Streaming

This optimization reduces CPU usage during audio clips loading and playing and at the same moment it optimizes RAM usage: - small clips are fully downloaded to RAM, it minimizes CPU usage - medium size clips are decompressing in runtime, trading memory use for Audio CPU - big audio clips are not loaded to RAM, they are being streaming from disk instead, it minimizes RAM usage; this method is the most hard for CPU, but usually big audio clips are used not often like small ones, so that's not significant


Optimize Settings

If you click this, Optimizer tool looks into project settings and does next things with it:

  • enables Minify Release flag

  • enables collision meshes baking

  • sets IL2CPP script building backend, if possible (it's more secure and it increases build productivity)


Optimize All

If you click this, Optimizer tool runs all optimizations together. One click and your build is much more optimized!

Mobile Build Optimizer popup