Webgl build error

unity 6.1.11f1
convai 3.3.0
webgl build

Assets\Convai\Scripts\Runtime\UI\SettingsPanel\UIMicrophoneSettings.cs(131,67): error CS0103: The name ‘Microphone’ does not exist in the current context

Hello @team-content,

Please make sure to follow our documentation.

followed your guide.
installed webgl version of convai
build and run demo scene.
error when activating microphone. typing does not work.

2.framework.js:2744 An abnormal situation has occurred: the PlayerLoop internal function has been called recursively. Please contact Customer Support with a sample project so that we can reproduce the problem and troubleshoot it.

_JS_Log_Dump @ 2.framework.js:2744
$WebGLPrintfConsolev(LogType, char const*, void*) @ 2.wasm:0x270e241
$printf_consolev(LogType, char const*, void*, bool) @ 2.wasm:0x270e86e
$InternalErrorConsole(char const*, …) @ 2.wasm:0x270fbe3
$DebugStringToFilePostprocessedStacktrace(DebugStringToFileData const&) @ 2.wasm:0x270f9b9
$DebugStringToFile(DebugStringToFileData const&) @ 2.wasm:0x270f28f
$PlayerLoop() @ 2.wasm:0x25f7e55
$MainLoop() @ 2.wasm:0x254571e
$MainLoopUpdateFromBackground(void*) @ 2.wasm:0x2545636
$dynCall_vi @ 2.wasm:0x272fc06
(anonymous) @ 2.framework.js:1797
(anonymous) @ 2.framework.js:11890
(anonymous) @ 2.framework.js:11890
callUserCallback @ 2.framework.js:9943
(anonymous)

Could you please share a screen recording?

i used your official webgl demo. using unity 2022.3.0. if i enter the api key it gets rejected. “please enter a valid api key”. the same api key works with newer versions of convai. did you change api key checking in a new version?

Hello @team-content,

Could you please try again?

api key input works now. thanks.
webgl build works too now.

how can i use all the new convai features if i use the old webgl package for building in webgl?

Which features specifically are you referring to? The current latest version is 3.0.0. Could you let us know which version you’re currently using?

yes.
convai demo for unity webgl is using unity version 2022 and version 3.0.0 Releases · Conv-AI/Convai-Unity-WebGL-SDK · GitHub

while official nonwebgl convai uses version 3.3.0

WebGL and the Core Convai Package are indeed different SDKs due to platform-specific requirements. The WebGL SDK uses JavaScript under the hood and has a different architecture compared to the Core SDK. As such, they each have their own limitations and capabilities.

We recommend not trying to merge the two SDKs, as doing so may lead to errors and instability. If you’re targeting WebGL specifically, please continue using the dedicated WebGL SDK.