Hello from the Unity Audio team! We know there has been a long silence from us here, so we wanted to take this opportunity to kick off some better ongoing communications with our community. A few years back, the audio team released the experimental DSPGraph package. As with many elements in our strategy to enable more ambitious games with DOTS, we learned a lot in the process. Many of these learnings will directly benefit other upcoming DOTS-powered offerings, such as Unity’s new animation system. While the idea is very much alive to also bring these benefits to audio in Unity, we have paused it in order to focus on providing some immediate value for all users of audio in Unity.
During our numerous user interviews these past few years, it became clear that users are looking for better audio workflows that provide them with the ability to create and iterate over more advanced soundscapes faster and easier. Building immersive soundscapes that underscores all important moments in your game and ensuring that every impact, footstep or gunshot is as realistic and randomized as in the real world… seems to be the everlasting challenge for audio designers. At Unity Audio we have spent quite some time in discovering what exactly audio designers and implementer needs, in order to accomplish great sound work. Now we are ready with our first feature, within a roadmap focusing on supporting codeless flows within Unity: the Audio Random Container. As the name implies the feature is all about randomizing audio and ensuring that volume, pitch, time and triggers can be set to non-repetitive intervals, so your game never sounds the same twice.
It is useful for almost any sound use case (footsteps, impacts, weapons, props, Crowds and dialogue, etc), especially when it is integrated in Unity Visual Scripting and other state and trigger mechanisms.
And last but not least. The audio team here would like to give a big shout out to all of those who participated in the user research. Your input has been invaluable in helping us understand what you want and need from Unity Audio.
We look forward to engaging more in the future and continue building Unity Audio together with you!
Keep rocking the audio world!
Resources
- Documentation - Unity - Manual: Audio playlist randomization
Requirements
- The minimum required Unity version is 2023.2.0a10
Getting started
-
Download Unity 2023.2a10 or newer through the Alpha Releases site or directly from the Hub using the “Install Editor” button and navigating to the “Pre-releases” tab.
-
Open your project in Unity and create the Audio Random Container through the various options:
-
From the menu:
-
The Unity Editor contains a working menu item Asset → Create → Audio → Audio Random Container that creates an empty Audio Random Container asset.
-
The project view:
-
Right clicking in the Project window brings up the asset menu containing a working menu item Create → Audio → Audio Random Container that creates an empty Audio Random Container asset.
Current state
The Audio Random Container is in an alpha state which means that bugs can appear and that the feature is missing minor UI elements or functionality. It is tested for all platforms for the Editor and StandAlone builds.
What’s next
The immediate next thing that we are working on is to provide you with some visual feedback such as a VU meter and visualization of what is currently playing in the audio random container. Please watch out for more updates in this space!
As part of this early alpha release, we are also looking to get as much feedback as we can from you all to improve the overall experience of working with the Audio random container and make it more robust. We would like to invite you to try it out and give us your feedback here in this thread and also please feel free to report any unexpected behaviour or bugs that you encounter through our bug-reporter.
Feedback
We’re especially looking for feedback on the functionality and bugs as you come across.
-
Are there any workflows that are unclear or missing?
-
Are there any issues or unclear parts in the documentation?
-
Do you face any difficulties integrating with other game domains and triggers?
Please share your feedback about the Audio Random Container in this thread. Any other feedback should be submitted via our official Roadmap page. This thread should remain focused on the original topic and we reserve the right to remove unrelated posts.
How to report bugs
Bugs need to be reported via the built-in bug reporter tool, as that will automatically provide us with some relevant context. When reporting bugs, please:
-
Attach a (stripped) project when there are issues with the Audio Random Container.
-
Please provide us with the steps to reproduce the issue.
Have a look at this page for more information and best practices around bug reporting.
Once you have submitted a bug report through the bug reporter, please feel free to start a discussion about it in this thread.
Thank you for your interest, we’re looking forward to your feedback!