View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1.0
- Last updated
- First released
- Unity version
- 2021.3.10 or later
- Package size
- 2.2 MB
- Files
- 31
- Favorites
- 6
- Views in the past week
- 2
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $11.19 on
Keywords
Multi Audio Listener
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 1
Multi Audio Listener screenshot 1
About this asset
The Problem
Unity does not allow to have multiple `Audio Listeners`, which makes sense in most of the games - you have only one player (per physical machine) that is able to _hear_ sounds. The problem shows up when you have local co-op game with multiple players on single machine.
The Solution
The solution in big picture is to create one `AudioListener` that's located in the middle and same number of `AudioSources` as there are `MultiAudioSource`. Each time interval real audio sources moves in a way to mimic what would hear the closest player to the game object with the `MultiAudioSource`.
DEMO http://MultiAudioListener.napad.games
From the publisher's Asset Store listing.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2021.3.10f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.