Search Issue Tracker

Fixed in 2017.3.0f3

Fixed in 2017.2.X

Votes

6

Found in

5.5.2f1

Issue ID

895350

Regression

No

Can not receive information about microphone devices when name contains special characters

Audio

-

Reproduction steps:
1. Open project attached (MicrophoneBugTest.zip)
2. Press play.
3. Press on button to check print your Microphones to console.

Expected result: Device name will always be returned.
Actual result: On some devices it returns empty string or null.

Note: Information from user: "This is currently affecting around 2-3% of my customers. There is no workaround. It appears to be potentially related to special characters in different countries. Most customers with issues seem to be in Spain or China."
Make sure your microphone contains any special character. There is suggested name of microphone "Batería de micrófonos internos".
In 5.3 it does not return microphone at all.

Reproduced on: 5.3, 5.4, 5.5.2f1, 5.6.0p1, 2017.1.0b1

Comments (7)

  1. ramawatar

    Nov 30, 2019 09:04

    I am trying to record audio , but stand alone not able to detect device . Microphone doesn't any device id or name.

  2. stevensrmiller

    Jul 30, 2018 17:16

    If anyone wants to upvote the current report on this (unfixed) bug, and is having trouble finding it, it's at this link: https://issuetracker.unity3d.com/issues/webcamtexture-dot-devices-returns-empty-name-string-when-webcam-name-contains-special-characters

  3. stevensrmiller

    Jul 29, 2018 15:30

    This problem is listed again in Issue 1054494. Please consider upvoting it.

  4. unity147074106

    Nov 25, 2017 03:36

    I download the 2017.3 beta, the string is not empty now.
    But it still has a bug, Microphone.Start(devicename) always start the default microphone.

  5. unity147074106

    Sep 05, 2017 10:12

    the same proble, I am in China.

  6. kjuanlu

    Jul 31, 2017 09:48

    I have the same problem: two devices with empty names. So I only can use Microphone.Start(null ... ) and work with the default microphone, but I can't use the other device because Microphone.Start only works with string. Maybe Microphone.Start can use the index value in addition to the string value.

  7. Aeregon

    May 30, 2017 15:21

    I have the same problem. I am working with webcams and microsoft got the registered trademark symbol behind the name which cause problems as well.

Add comment

Log in to post comment

All about bugs

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