Search Issue Tracker

Fixed in Unity 5.4.0

Votes

0

Found in

5.1.0f3

Issue ID

715257

Regression

Yes

Microphone.IsRecording(null) returns true even when no devices exist

Audio

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 3Workaround is possible

Steps to reproduce:

1. Make sure that there are no microphones plugged in
2. Open 'MicrophoneBug.zip' project
3. Open scene 'test' and run it
4. Notice that console prints that microphone is recording although there are no devices plugged in

Note: adding Microphone.End(null) before calling isRecording(null) doesn't fix this issue.

Workaround: Microphone.devices could be used as a workaround to detect if there are any devices plugged in.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.