K3
August 27, 2024, 12:54pm
1
Original Discord Post by yahyaamin1997 | 2024-08-27 12:54:50
Hello everyone, my Unity project was working just fine but lately it shows an error saying “You are not close enough to the character to talk”. Its also not showing the Convai dialogue box that it used to show for entering text. How to fix this issue?
Thanks and Regards,
Yahya Amin
K3
August 27, 2024, 1:41pm
2
Reply by k3kalinix | 2024-08-27 13:41:03
Hello <@1270648993868943371>
K3
August 27, 2024, 1:41pm
3
Reply by yahyaamin1997 | 2024-08-27 13:41:29
Hey K3 how are you doing
K3
August 27, 2024, 1:42pm
4
Reply by k3kalinix | 2024-08-27 13:42:24
I’m fine, thanks for asking . How are you?
K3
August 27, 2024, 1:42pm
5
Reply by yahyaamin1997 | 2024-08-27 13:42:41
Im good too
K3
August 27, 2024, 1:42pm
6
Reply by k3kalinix | 2024-08-27 13:42:54
This notification message appears when there is no active NPC.
K3
August 27, 2024, 1:43pm
7
Reply by yahyaamin1997 | 2024-08-27 13:43:43
Oh ok how do I make it active?
K3
August 27, 2024, 1:44pm
8
Reply by k3kalinix | 2024-08-27 13:44:14
Did you edit any Convai scripts?
K3
August 27, 2024, 1:44pm
9
Reply by yahyaamin1997 | 2024-08-27 13:44:14
I have the character imported
K3
August 27, 2024, 1:44pm
10
Reply by k3kalinix | 2024-08-27 13:44:39
Could you please show me Hiearchy?
K3
August 27, 2024, 1:45pm
11
Reply by yahyaamin1997 | 2024-08-27 13:45:05
Noo, no edits made. I tried importing the character again but it didnt work
K3
August 27, 2024, 1:45pm
12
Reply by yahyaamin1997 | 2024-08-27 13:45:24
Oh ok I’ll send here in a while
K3
August 27, 2024, 1:46pm
13
Reply by yahyaamin1997 | 2024-08-27 13:46:30
In around an hour
K3
August 27, 2024, 3:27pm
14
Reply by yahyaamin1997 | 2024-08-27 15:27:35
Images:
K3
August 27, 2024, 3:27pm
15
Reply by yahyaamin1997 | 2024-08-27 15:27:43
Hey K3 this is my project hierarchy
K3
August 27, 2024, 3:30pm
16
Reply by k3kalinix | 2024-08-27 15:30:02
Please clear the console and try talking to the character again, then let me see the console logs.
K3
August 27, 2024, 3:34pm
17
Reply by yahyaamin1997 | 2024-08-27 15:34:02
Oh ok
K3
August 27, 2024, 3:36pm
18
Reply by yahyaamin1997 | 2024-08-27 15:36:49
[Warning][Character]: No target object set for head tracking. Setting default target as main camera
[Stack Trace - Method: InitializeTargetObject, at Line: 155 in File: C:\Users\abc\AI Receptionist\Assets\Convai\Scripts\Runtime\Core\ConvaiHeadTracking.cs]
UnityEngine.Debug:LogWarning (object)
Convai.Scripts.Utils.Logger:LogMessage (string,Convai.Scripts.Utils.Logger/LogLevel,Convai.Scripts.Utils.Logger/LogCategory,object ) (at Assets/Convai/Scripts/Runtime/LoggerSystem/Logger.cs:135)
Convai.Scripts.Utils.Logger:Warn (string,Convai.Scripts.Utils.Logger/LogCategory,object ) (at Assets/Convai/Scripts/Runtime/LoggerSystem/Logger.cs:180)
Convai.Scripts.Utils.ConvaiHeadTracking:InitializeTargetObject () (at Assets/Convai/Scripts/Runtime/Core/ConvaiHeadTracking.cs:155)
Convai.Scripts.Utils.ConvaiHeadTracking:InitializeComponents () (at Assets/Convai/Scripts/Runtime/Core/ConvaiHeadTracking.cs:90)
Convai.Scripts.Utils.ConvaiHeadTracking:Start () (at Assets/Convai/Scripts/Runtime/Core/ConvaiHeadTracking.cs:68)
K3
August 27, 2024, 3:37pm
19
Reply by yahyaamin1997 | 2024-08-27 15:37:04
I only get the warning above. No errors
K3
August 27, 2024, 3:37pm
20
Reply by k3kalinix | 2024-08-27 15:37:54
Did you get close to the character?