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
- TreeView Child display toggle styling becomes reversed when clicking and dragging it
- Null is returned when using FocusOutEvent.relatedTarget
- Unity_BaseInstanceID is always zero when rendering multiple meshes and instancing with the same buffer
- UI Document button's text does not resize relatively when size in percentage (%) is used
- Event.current.mousePosition has an offset of 1px along the y-axis in WebGL build when the mouse button is released
Add comment