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
- "Customize handled extensions" part in the External Tools settings tab is not aligned with other properties
- Editor Diagnostics foldouts do not open when clicked on the foldout title
- [UI Builder] Visual Elements are not placed at the mouse cursor position when Absolute Position Placement is enabled
- "Width" and "Height" text is misaligned with slider ends in Screen Match Mode Parameters section of Panel Settings Asset
- Editor does not quit when Editor is not in focus and any floating window is opened
Add comment