Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by kkiniaes · Feb 06, 2014 at 03:55 AM · audiomicrophoneapplemacbookdevices

Mac Built-In Microphone Not Working

So I put in the following code and it returns nothing. The list of available microphones is empty. I have a new macbook pro retina, and i tested the microphone, it is working, the "Built-In" microphone device is the one that is active... is there something I'm missing? Has anyone else encountered this?

 string[] devs = Microphone.devices;
         foreach(string s in devs) {
             print (s);
         }

,

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image wampastompa · Apr 19, 2014 at 02:39 PM 0
Share

I've also come up with this issue. Did you have any luck solving it?

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by kkiniaes · Apr 19, 2014 at 03:00 PM

So I figured out the problem. It has to do with the permissions and being able to access the microphone. Even on standalone unity games, you have to ask the user for permission to use the microphone.

https://docs.unity3d.com/Documentation/ScriptReference/Application.RequestUserAuthorization.html

Check the documentation here to see how to do that. If you basically copy the code on that site then at the beginning of the game, a popup should appear asking the user permission to access their microphone. I did this and my game works just fine now.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by ceo1207 · May 10, 2016 at 05:54 AM

to get authorization of microphone using Application.RequestUserAuthorization may not help this problem.you only need to call this function when the project target is a web player.

maybe change configuration of your microphone and reboot.it may help you solve this problem.

and can you add more details of this problem. Microphone.devices return null or return value but it is empty.

i encount this problem in my machine(win 7 sp1).i can get Microphone.devices,but it is empty. i change the configuration of microphone and reboot.it works well finally.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How do I tell if the microphone is working? 2 Answers

Real time Microphone (line input) FFT analysis 2 Answers

Microphone Input Latency Android 1 Answer

Microphone Failed Result=33 0 Answers

How to use the Microphone class to record multiple AudioClip's 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges