Search Issue Tracker
By Design
Votes
0
Found in
2018.1.0a1
2018.3.0a1
2019.1.0a1
2019.1.4f1
2019.2.0a1
2019.3.0a1
Issue ID
1159772
Regression
No
[Mac] DownloadHandlerAudioClip.GetContent throws InvalidOperationException
How to reproduce:
1. Open the attached project
2. Open the "scene01.unity" scene
3. Press Play
4. Write "Evolve.wav" into the Input Field
5. Press the "Button" Button
Actual result: InvalidOperationException is thrown.
Expected result: The audio clip is loaded.
Reproducible with: 2019.3.0a6, 2019.2.0b6, 2019.1.7f1, 2018.4.2f1, 2018.1.9f2, 2017.4.29f1.
Notes:
Reproducible only on Mac.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Resolution Note:
UnityWebRequest takes URI as an argument, not file path. The file has to be prepended with file:// on Mac and with file:/// on Windows (best to pass it to Uri class and pass that to UWR or take the value of AbsoluteUri property).