Enable Convai Unity WebGL Mobile Keyboard & Buttons

Original Discord Post by or_rmo | 2024-07-09 08:11:43

Hello, I can’t writet on mobile when building on the web using Convai Unity.
When I want to write a chat, is there a way to do so using the mobile keyboard?
and I imported and installed the WebGL SDK into the project, but the voice button and settings button do not seem to be activated.
The settings window appears when you press “0”, but it doesn’t work when you press it with a mouse or screen touch, TT.
Please check this. Thank you. :slightly_smiling_face:

Reply by k3kalinix | 2024-07-09 10:30:31

Hello <@684027455433998381>,

Unity officially says that the WebGL platform does not support mobile.

Therefore, such incompatibilities are normal.

This problem you are experiencing is related to Unity WebGL rather than Convai.

If you check this link in the Unity documentation,

Unity - Manual: Web browser compatibility.

Unity WebGL doesn’t support mobile devices. It might work on high-end devices, but current devices are often not powerful and don’t have enough memory to support Unity WebGL content.
There is a text like this.

To solve the keyboard problem,
You can install TextMeshPro package 3.2.0-pre.8. In the Pre Release version this problem is solved.

But to create a better experience in WebGL, you also need js knowledge.

Along with this information, I hope it will help you by doing research on the internet.

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-07-09 10:30:31
Hello <@684027455433998381>,

Unity officially says that the WebGL platform does not support mobile.

Therefore, such incompatibilities are normal.

This problem you are experiencing is related to Unity WebGL rather than Convai.

If you check this link in the Unity documentation,

Unity - Manual: Web browser compatibility.

Unity WebGL doesn’t support mobile devices. It might work on high-end devices, but current devices are often not powerful and don’t have enough memory to support Unity WebGL content.
There is a text like this.

To solve the keyboard problem,
You can install TextMeshPro package 3.2.0-pre.8. In the Pre Release version this problem is solved.

But to create a better experience in WebGL, you also need js knowledge.

Along with this information, I hope it will help you by doing research on the internet.

Reply by or_rmo | 2024-07-10 01:16:35

Thank you! then,
“and I imported and installed the WebGL SDK into the project, but the voice button and settings button do not seem to be activated.
The settings window appears when you press “0”, but it doesn’t work when you press it with a mouse or screen touch.”
Can I also confirm the answer to this??

Reply by or_rmo | 2024-07-10 02:59:43

I am sharing the link for confirmation.
https://www.onevents.co.kr/cc_test/

Reply by or_rmo | 2024-07-10 10:56:29

<@1023671043287699568>

Reply by k3kalinix | 2024-07-10 11:09:35

<@684027455433998381>

Reply by k3kalinix | 2024-07-10 11:09:39

Images:

Reply by k3kalinix | 2024-07-10 11:09:47

It works as expected.

Reply by k3kalinix | 2024-07-10 11:09:51

I cannot see any problem.

Reply by or_rmo | 2024-07-11 01:18:18

@K3 It is activated when you press the “T” button on the keyboard, but it does not seem to run when you press the button with the mouse. If it is activated by pressing the keyboard, how does it work on mobile?

Reply by or_rmo | 2024-07-11 01:18:29

<@1023671043287699568>

Reply by or_rmo | 2024-07-11 04:42:13

And how can I apply the mobile chat box to WebGL?

Reply by or_rmo | 2024-07-11 06:21:21

Is it possible to hide the error console??Unity WebGL Player | AI_convai_world_chatbot_0708

Images:

Reply by or_rmo | 2024-07-11 09:06:46

<@1023671043287699568>

Replying to or_rmo’s Message

Reply by or_rmo | 2024-07-11 01:18:18
@K3 It is activated when you press the “T” button on the keyboard, but it does not seem to run when you press the button with the mouse. If it is activated by pressing the keyboard, how does it work on mobile?

Reply by k3kalinix | 2024-07-11 09:06:58

You have to implement this.

Reply by k3kalinix | 2024-07-11 09:07:10

By default it doesn’t support mobile.

Replying to or_rmo’s Message

Reply by or_rmo | 2024-07-11 06:21:21
Is it possible to hide the error console??https://www.onevents.co.kr/AI_cwcm

Reply by k3kalinix | 2024-07-11 09:07:46

Disable the development mode.

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-07-11 09:06:58
You have to implement this.

Reply by k3kalinix | 2024-07-11 09:08:26

Did you check our Core SDK?

There is a mobile demo scene.

Reply by k3kalinix | 2024-07-11 09:08:35

You can review it.

Reply by or_rmo | 2024-07-11 09:12:05

Can I turn the microphone on and off using the button?