Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2019.2.X
Votes
1
Found in
5.4.2f1
Issue ID
844064
Regression
No
AudioClip.GetData returns samples that are missing parts of the original clip when wrap around is needed
To reproduce:
1. Open the attached project
2. Listen to the audio clip in the "Assets" folder "Sample Clip"
3. Enter play mode
4. Press left mouse button in the game window
Notice how clip starts playing from a specific part but wraps around before reaching the end of the clip
5. Press right mouse button in the game window, to activate a workaround of this issue
6. Press left mouse button in the game window again
Notice that now the clip starts at the same place as after step 4, but this time it correctly reaches the end of the clip before wrapping around to play remaining samples
Expected: using AudioClip.GetData returns working samples and playing them with an offset wraps it around correctly without skipping parts of the original clip
Actual: using AudioClip.GetData returns corrupted samples which played with an offset wrap around but skip parts of the original clip
Reproduced on: 5.5.0b9, 5.4.2p2, 5.3.6p7
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment