Installation
Import AudioCue, install its Unity packages, add one AudioManager, and verify the included demonstration scene.
Requirements
AudioCue version 2.0.0 requires:
- Unity 6
- Unity Input System
- Unity UI for the included demonstration scene
- Universal Render Pipeline for the included demonstration scene and its visual materials
The development project uses:
- Unity
6000.0.81f1 - Input System
1.19.0 - Unity UI
2.0.0 - Universal RP
17.0.4
These package versions describe the validated development setup. When using another Unity 6 editor, install the compatible package versions offered by that editor's Package Manager and validate the package before release.
The runtime audio system is render-pipeline independent. Only the included scene and visual sample assets require URP.
Install from the Unity Asset Store
- Open Unity Package Manager.
- Select
My Assets. - Find AudioCue - AudioClip Editor & Player.
- Download the asset.
- Import the complete
AudioCueToolkitfolder. - Wait for Unity to import assets and compile scripts.
Keep the package at:
Assets/AudioCueToolkit
The Welcome window, Documentation window, icons, manager prefab, demo scene, and editor tools resolve assets from this location.
Install the Input System
The runtime assembly references Unity.InputSystem. Install the package before diagnosing missing namespace or assembly errors.
- Open
Window > Package Manager. - Select
Unity Registry. - Install
Input System. - Open
Edit > Project Settings > Player. - Expand
Other Settings > Configuration. - Set
Active Input HandlingtoInput System Package (New)orBoth. - Restart Unity if requested.
AudioCueMouseTrigger reads Pointer.current directly. It supports mouse, pen, and touchscreen pointers and does not require a separate Input Actions asset.
Add the AudioManager
Every scene flow that can play AudioCue content needs one enabled manager.
Use either method:
- Open
Tools > AudioCue > Welcomeand selectAdd AudioManager. - Drag this prefab into the first scene that can play audio:
Assets/AudioCueToolkit/Runtime/Prefabs/AudioManager.prefab
The supplied prefab uses these defaults:
- Persist Across Scenes: enabled
- Pool Size: 16
- Overflow Mode: Create Temporary Voice
- Max Temporary Voices: 16
Keep one manager when Persist Across Scenes is enabled. A duplicate manager logs an error and disables itself. AudioCue does not silently create a manager when one is missing.
Configure the manager
Pool Size controls how many reusable AudioSource voices are prepared when the manager starts.
Create Temporary Voice allows playback beyond the initial pool until Max Temporary Voices is reached. At that limit, the least important eligible voice is stolen.
Steal Lowest Priority skips temporary expansion and reuses the least important active voice when the pool is full. Unity's priority convention is used: 0 is most important and 256 is least important. Equal-priority ties select the oldest voice.
Size the pool for the expected normal workload. Temporary voices are a bounded overflow path, not a replacement for realistic limits.
Verify the installation
- Open
Tools > AudioCue > Welcome. - Confirm that Create AudioCue, Add AudioManager, Quick Start, Documentation, Changelog, and Troubleshooting are available.
- Open the demonstration scene:
Assets/AudioCueToolkit/Samples/Demo/Scene/Demo.unity
- Confirm that the project has an active URP asset.
- Enter Play Mode.
- Click and hover the interactive objects in the scene.
- Confirm that the interaction counter updates and that positional sounds follow moving objects.
- Inspect the AudioManager runtime panel and confirm that active voices return to the pool after playback.
Importing into a non-URP project
The runtime, editor, AudioCue assets, and AudioManager do not require URP. The sample scene materials do.
When using Built-in Render Pipeline, HDRP, or a custom pipeline:
- Keep the complete runtime and editor folders.
- Use AudioCue in a project-specific scene.
- Replace or convert sample materials if the demonstration content is needed.
- Do not treat pink sample materials as an audio-runtime failure.
Updating from version 1.0
Version 2.0 is a breaking replacement, not an in-place serialized migration.
- Back up the project or create a version-control checkpoint.
- Record where existing
AudioClipDataandAudioClipPlayercomponents are used. - Remove the old
Assets/AudioClipToolkitfolder. - Import
Assets/AudioCueToolkitversion 2.0. - Recreate audio data as
AudioCueassets. - Add one explicit AudioManager.
- Replace old players with
AudioCuePlayerand optional adapters. - Reconnect UnityEvents and project code to the new API.
- Verify every migrated scene and prefab in Play Mode.
Do not keep both folders during migration. The namespace, asset types, component wiring, and playback ownership are different.
Continue with Quick Start to create and play the first cue.