cancel
Showing results for 
Search instead for 
Did you mean: 

Error while Unity WebGL Build time

Anonymous
Not applicable
Hi..
I am trying to build a webGL VR(WebVR) application for Oculus browser with Oculus Integration SDK.
But I got the error below mentioned while trying to build.

Error : error CS0103: The name `Microphone' does not exist in the current context

Please guide me..



2 REPLIES 2

Anonymous
Not applicable
Microphone is not supported in WebGL, it seems you could build with references to Microphone class on older Unity versions but not with recent builds. Does Oculus Integration SDK has WebGL support? Is this a think that should be fixed?

garciaolarte.ca
Honored Guest

Microphone is not suported by webGL build, you can use a plugin https://assetstore.unity.com/packages/tools/input-management/microphone-pro-webgl-mobiles-desktop-79...