import_sound_file
Import an external WAV file into an Unreal Engine USoundWave asset, save it to disk, and verify by loading it back. Reports asset path, duration, and channels.
Instructions
Import an external WAV file into a USoundWave asset. Uses the legacy USoundFactory (AudioEditor module) path, no Interchange. The new sound wave is saved to disk and verified by loading it back; the response reports the resulting asset_path, duration (seconds) and num_channels.
Returns: { file_path: string, package_path: string, asset_path: string, asset_name: string, duration: float, num_channels: int, imported: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the source .wav on disk. | |
| asset_name | No | Optional destination asset name (default = source file stem). | |
| package_path | Yes | Destination content folder, e.g. /Game/Imported. | |
| replace_existing | No | bool, replace an asset at the destination path (default true). |