ConvaiClient is not Defined... WebGL

Original Discord Post by catboiler | 2024-09-15 12:36:28

Received the following error when Build & Run. Using WebGL SDK (latest version), Unity 2022.3.28f1 and the scene is a very basic scene of a character in front of the camera.

Images:

Reply by k3kalinix | 2024-09-15 12:47:00

Hello <@178079698574639104> :wave:t2:,

Can I see your Unity Hiearchy?

Reply by catboiler | 2024-09-15 12:48:38

Images:

Reply by k3kalinix | 2024-09-15 12:49:10

Expand Convai Essentials

Reply by catboiler | 2024-09-15 12:50:43

Images:

Reply by k3kalinix | 2024-09-15 12:51:01

It is pretty blurry

Reply by catboiler | 2024-09-15 12:51:15

hang on

Reply by k3kalinix | 2024-09-15 12:51:38

Did you change the name of any object?

Reply by catboiler | 2024-09-15 12:52:02

Images:

Reply by catboiler | 2024-09-15 12:52:13

No, I just dragged it in

Reply by catboiler | 2024-09-15 12:52:17

from the prefabs folder

Reply by k3kalinix | 2024-09-15 12:52:26

Did you add Convai PWA Template?

Reply by catboiler | 2024-09-15 12:52:35

The only thing I changed was the positiong of the ConmvaGRPCWewbAPI as that was the camera

Reply by catboiler | 2024-09-15 12:52:45

no

Reply by k3kalinix | 2024-09-15 12:52:50

Okay

Reply by k3kalinix | 2024-09-15 12:53:08

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-15 12:53:31

aaahhh

Reply by catboiler | 2024-09-15 12:53:44

You know I followed that the other day, didn’t remember there was that PWA step

Reply by k3kalinix | 2024-09-15 12:54:01

Yeah

Reply by catboiler | 2024-09-15 12:54:14

My fault LOL