Unitune

$22
Publisher Mathieu Philippe
File size 4.99MB
Number of files 66
Latest version 1.1.0
Latest release date 2024-11-25 09:37:28
First release date 2024-09-25 05:45:13
Supported Unity versions 2018.4.2 or higher

A WebGL-compatible easy-to-use tracker music player.

Huge soundtrack, tiny build size!


When working on a retro WebGL game for a client, I realized that the majority of the build size was due to the music files.



While we were using tracker music, as Unity natively supports the most common formats, they are converted to AAC when targeting WebGL.


This translated to a 1000% increase in our expected build size. 😱



It motivated me to develop a solution: Unitune, a tracker player that converts module files to AudioClips at runtime.



Thanks to its generative nature, it will give you more control over your music at runtime while keeping your build size as tiny as possible.


Website - Documentation - Scripting Reference - Github Issues - Discord



Unitune includes some third-party libraries:


  • Libopenmpt under MIT License
  • stb_vorbis under MIT License OR Public domain
  • miniz under MIT License
  • minimp3 under CC0 1.0 Universal

See the "Third-Party Notices.txt" file in the package for details.

Top Publisher Assets