Error when running on WebGL

Original Discord Post by catboiler | 2024-09-02 08:17:01

I’ve tried this on both Unity 2021.3.29 and 2022.3.28. The only thing installed into the project is ConvAI and Microphone Pro (as Unity doesn’t support the mic and webgl I need it to build the project). There is a few “undefined symbol errors” which I’ve been advised to add “webGLEmscriptenArgs: -s ERROR_ON_UNDEFINED_SYMBOLS=0” to the projectsettings.asset file, although I think that just turns the error off rather than fixing it.
Once I get the project built, in 2022 it fails right away, but with 2021 it fails as I hit the T key to talk, with the attached error. I have no idea how to proceed now. Any help would be greatly appreciated.
Also, is there a way of running ConvAI on WebGL without Microphone Pro?

Images:

Reply by k3kalinix | 2024-09-02 08:18:02

Hello <@178079698574639104>,

Reply by k3kalinix | 2024-09-02 08:18:07

Welcome to Convai Community!

Reply by k3kalinix | 2024-09-02 08:19:47

As far as I can see, you are trying to use our Core SDK on WebGL.
You cannot use Core SDK on WebGL.

You need to download our WebGL SDK.

Documentation: Building for WebGL | Documentation

Embedded Content:
Building for WebGL | API Docs
This guide will help you integrate Convai’s WebGL capabilities into your Unity projects, enabling you to bring to life AI characters with human-like conversational abilities.
Link: Building for WebGL | Documentation

Reply by catboiler | 2024-09-02 08:20:40

Thank you. Now I feel twp!! I’ll take a look through - I had a feeling it was something I was missing. Thanks for the guidance. I’ll see what I can do now :slightly_smiling_face:

This conversation happened on the Convai Discord Server, so this post will be closed.