Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2019.2.X
AudioClip.GetData returns samples that are missing parts of the original clip when wrap around is needed
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.
- Standard Unity Materials and Shaders become corrupted after importing specific Asset Packages
- [Linux][OpenGL][Vulkan] Draw calls are not shown in the Event List when taking a capture of a frame with RenderDoc
- Inaccurate collision detections when Rigidbody Collision Detection is set to "Continuous" or "Continuous Dynamic"
- Crash on Object::IncrementPersistentDirtyIndex when upgrading project version
- [iOS] Multiple Xcode project instances created before opens up when performing Build and Run for iOS Platform