Build package
To build a package using WhisperRealtime plugin, you need to configure the asset manager to include the machine learning model assets in the package.
Asset manager settings
Add an element to Project Settings > Game > Asset Manager > Primary Asset Types to Scan and set the following values.
(Or, since the default element with Index=1 is already set to PrimaryAssetLabel, you can edit this element.)
- Set
Primary Asset TypestoPrimaryAssetLabel. - Set
Asset Base ClasstoPrimaryAssetLabel. - Uncheck
Is Editor Only. - Add an element to
Specific Assetsand specifyWhisperModel_all.

Reduce package size
Package size can be reduced by packaging only a portion of the machine learning models used by the plugin.
-
You can package only the specified model size by specifying the labels under
BySizeinPlugins > WhisperRealtime > PrimaryAssetLabelsinstead ofWhisperModel_allin the Asset manager settings "4". -
Or, by specifying the labels under
ByFunctionAndLanguage, you can package only models related to the specified function. -
Or, you can refer to the table below and manually specify only the models you need.
Relationship between ML model assets and the functions that use them
English only models
| Asset name of ML model | Transcription | Short-phrase Alignment | Long-phrase Alignment |
|---|---|---|---|
encoder_mask_1500_0_{SIZE}_en_opt_fp161 |
✅ | ✅ | ✅ |
decoder_1_-1_16_{SIZE}_en_opt_fp162 |
✅ | ||
aligner_b_n_{SIZE}_en_opt_fp16 |
✅ | ✅ |
Multilingual models
| Asset name of ML model | Transcription | Short-phrase Alignment | Long-phrase Alignment |
|---|---|---|---|
encoder_mask_1500_0_{SIZE}_opt_fp16 |
✅ | ✅ | ✅ |
decoder_1_-1_16_{SIZE}_opt_fp163 |
✅ | ||
aligner_b_n_{SIZE}_opt_fp16 |
✅ | ✅ |