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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment