I am currently developing a web game, where microphone input is needed, but it doesn’t matter if I set the application to ask permission for microphone or the webcam, it always asks permission for the latter and many people decline it for that reason. It does seem like a bug, because why even make the developers bother to specify the input device if unity still shows the same permission message.
Any feedback on if and when this would be fixed would be highly appreciated.
Thanks in advance
Kristo
Any feedback on this issue?
Really? No one has anything to say about this?
I think it is a pretty big issue and what seems to be quite a simple fix, however I might be wrong.
But still I’d like some feedback that Unity staff are aware of this issue and working on it.
Now I noticed a different problem with the latest versions of unity. It seems that whenever I build a web player version and ask for permission to use the microphone it produces some kind of an error, at least it stops the rest of the scripts from running. It doesn’t ask for the permission nor go on with the game
The problem doesn’t exist in the Editor and no error messages appear.
Anyone else have this problem or have any idea what might be causing this?
It gets worse too.
Here is my thread on it…
http://forum.unity3d.com/threads/178913-Request-for-Mic-Authorization-in-Webplayer-is-doing-something-awful
Memory leak, try just letting the request for authorization sit there waiting for user input for a few minutes. Check your profiler if you have Pro. If you don’t have that memory leak, please post to let me know how you call authorization.
EDIT: Concerning your last issue, I don’t have that problem. Are you talking about how it freezes the execution thread while it waits for user input if you yielded in a Start()? It doesn’t cause a error, just waiting. In my case, it causes a build up of memory until it crashes eventually.
Can you please file a bug report with a small repro project?
Clearly it shouldn’t ask for webcam rights to access the microphone.
I filed a bug report using the Editor. Thanks alot for the response, UnLogick, nice to see some kind of response.