This release fixes a lot of weird usability and functionality issues that slipped into the last major release. I highly recommend updating to this version, especially since the next version 3.2 will feature a lot of major additions that you may not want to integrate right away.
As always:
Before upgrading, remember to back up your project to source control in case of rare, catastrophic errors.
When upgrading using the .unitypackage, delete your old JSAM folder first before importing the new one to ensure old files are properly replaced.
Minor Changes
- Mini-preview in SoundFileObject inspector now uses the same mini-preview as the MusicFileObject inspector (#51)
- Several
AudioManager.StopMusiccalls now return a SoundChannelHelper to be consistent with existing API - Audio File Wizard now saves the FileType selection field between Editor instances (Music/Sound)
Fixes
- Fixed loaded music libraries using the wrong lookup keys
- Fixed AudioChannelHelpers not getting properly freed up (#49)
- Fixed AudioPlaybackTool not redrawing waveform preview when swapping between AudioClips in a SoundFileObject (#51)
- Fixed null reference error thrown when using AudioPlaybackTool
- Fixed random playback logic not working consistently in SoundFileObject inspector
- Fixed MusicPlayer throwing an error when FadeBehaviour is set to FadeOutAndFadeIn and playback is attempted when there is no existing Music to fade out of
- Fixed AudioManager not properly invoking TimeScale events on some Audio Helpers
- Fixed selected AudioLibrary not persisting between Editor sessions (#53)
- Fixed fadeout logic in BaseAudioChannelHelper to be consistent with behaviour introduced in previous version (#55)
- Additional fade helper API will be introduced in the next version update
- Sounds marked "Looping" were getting replayed with a random AudioClip and pitch. This function probably shouldn't have been added in the first place and has been removed (#57)
- Fixed warnings thrown when inspecting an AudioFileObject that previously had no files and has a file added to it without re-opening the inspector
- Fixed compatibility-mode audio file list renderer so that the plus and minus buttons no longer disappear when exceeding 5 elements
- Also disabled it by default on new installs of JSAM
- Fixed null reference when inspecting Playback Preview of an Audio File Object with missing AudioClips
- Fixed null reference when inspecting null AudioClip using Playback Tool
- Fixed the +/- buttons of the Files list inspector in the SoundFileObject inspector disappearing if the number of elements exceeded 5 and the
Use Built In Audio List Renderersetting was disabled (this option is enabled by default from this version onwards) - Fixed the Audio File Object's in-inspector Playback Preview generally not updating when swapping AudioClips in its Files property
- Fixed JSAM Playback Tool not handling loop points consistently
- Fixed Audio File Object Playback Preview not looping previewed AudioClips seamlessly
- Fixed some issues with how JSAM Playback Tool handles null files (you still shouldn't leave null references in your Audio File Objects though)