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
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
Add comment