Search Issue Tracker
Fixed
Votes
0
Found in
Issue ID
706059
Regression
No
[AudioSource]Audio with negative pitch doesn't play when loop is disabled
How to reproduce:
1) Create and Audiosource
2) Add an AudioClip
3) Configure the Audiosource with a negative pitch value like -1 and enable play on awake
4) Press play. You will not hear the sound
5) Enable loop and play again. Audio will play
By Design: User shouldn't use negative pitch value, unless one wants the clip to play backwards in the loop. If user wants it to play once through backwards, firstly he/she needs to set the position with AudioSource.time to the end of the clip and then play it.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
juan-jo
Oct 14, 2017 09:46
I'm just triying with PlayOneShot and if the pitch is negative it doesn't sound.