I’m getting the following error:
error CS0103: The name `Microphone’ does not exist in the current context
It works in Unity without issues, but when I try to deploy to the phone it gives the above error.
Is it because it’s not supported or is there something I have to do?
Check here:
https://docs.unity3d.com/Documentation/Manual/windowsstore-gettingstarted.html
Things that are not yet supported:
Network classes, WWW is supported though
Animation on script variables
AnimationEvent callback functions with arguments (you have to provide a function with no arguments or with AnimationEvent argument)
GameObject.SendMessage (partially works, but function which accepts the message must match the message sent, because the argument conversion doesn’t work)
Cloth
Microphone
You can’t access C# classes from JS or Boo scripts, you should be able to access JS, Boo classes from C#
JS and Boo scripts won’t pass WACK at the moment
Fog doesn’t work on devices with feature level < 9.3, you need to implement it manually, see http://files.unity3d.com/tomas/Metro/Examples/MyCustomFog.shader
thanks for the quick and very informative reply!
In the meantime you can write something in your XAML or C++ solution to access the microphone.