Search Issue Tracker
By Design
Votes
0
Found in
5.3.1f1
Issue ID
756384
Regression
No
[AudioClip] GetData() returns only zeroes if no AudioSource is found
Repro steps:
1) Open the project
2) Add the Foo script to any object
3) Click Play and notice that console throws an error that says all 0's (That's because AudioClip.GetData() only received 0)\
4) Drag and drop Resources -> 01 to any object
5) Play and notice the console shows Success (Means GetData works as supposed, because of AudioSource)
Workaround: Add an AudioSource component and attach the clip, whose data you want to get
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment