Original Discord Post by erikmendes | 2024-09-18 15:09:26
I’m trying to build WEBGL and run it in a React application, the reason being easy customization within unity.
But I get the error in the image when I try to communicate.
Images:
Original Discord Post by erikmendes | 2024-09-18 15:09:26
I’m trying to build WEBGL and run it in a React application, the reason being easy customization within unity.
But I get the error in the image when I try to communicate.
Images:
Reply by k3kalinix | 2024-09-18 22:11:37
I don’t know exactly what you are trying to do, let me tag my teammate.
<@368669084952428554>
Reply by saurav0037 | 2024-09-19 05:50:23
<@179743651163799553> Can you try adding cdn to react : web-sdk-cdn/1.1.0/ConvaiWebGL.umd.js at main · Conv-AI/web-sdk-cdn · GitHub
Embedded Content:
web-sdk-cdn/1.1.0/ConvaiWebGL.umd.js at main · Conv-AI/web-sdk-cdn
Contribute to Conv-AI/web-sdk-cdn development by creating an account on GitHub.
Link: web-sdk-cdn/1.1.0/ConvaiWebGL.umd.js at main · Conv-AI/web-sdk-cdn · GitHub
Reply by saurav0037 | 2024-09-19 05:50:32
in the index.html file
Reply by erikmendes | 2024-09-19 18:08:00
Euvatar.AIReply by erikmendes | 2024-09-19 18:08:12
<@368669084952428554>
Reply by erikmendes | 2024-09-20 15:16:10
<@1023671043287699568> <@368669084952428554>
Reply by erikmendes | 2024-09-20 15:22:19
I need you to help me understand this, we want to become partners with convai, but we need to put the project on the air first.
It’s a project that involves the federal government of Brazil
Reply by saurav0037 | 2024-09-23 11:34:25
<@179743651163799553> are there two index.html in your project one react and one unity build?
Reply by erikmendes | 2024-09-23 11:35:05
Exactly.
Reply by saurav0037 | 2024-09-23 11:40:25
Can you try shifting the unity index.html scripts to react index
Reply by saurav0037 | 2024-09-23 11:40:48
especially with src convaiwebsdk one
Reply by erikmendes | 2024-09-23 11:42:12
ok
Reply by saurav0037 | 2024-09-23 11:43:11
The convaiWebGl.js file makes convaiClient readily available to the browser. And because you are using react you’ll need to make sure its included in the root file
Reply by saurav0037 | 2024-09-23 11:43:21
everything else should work fine
Reply by saurav0037 | 2024-09-23 11:50:55
yes