My Convai NPC is not being destroyed when i unload the scene that it is in

Reply by k3kalinix | 2024-08-19 18:41:25

No you don’t need to call the whole method

Reply by k3kalinix | 2024-08-19 18:43:06

Just create a new method with the Unload Scene part.

Reply by newbietechbro | 2024-08-19 18:52:54

ok i tried pressing a button

Reply by newbietechbro | 2024-08-19 18:52:56

nothing happens

Reply by k3kalinix | 2024-08-19 18:53:12

Could you please share the code?

Reply by newbietechbro | 2024-08-19 19:00:34

i realized i needed to use the new input system

Images:

Reply by newbietechbro | 2024-08-19 19:00:43

this is the hierarchy and the console

Reply by k3kalinix | 2024-08-19 19:01:33

Images:

Reply by k3kalinix | 2024-08-19 19:01:37

Still i can see the NPC.

Reply by newbietechbro | 2024-08-19 19:04:09

then what is keeping it in the scene, how do I check what is causing it to keep running?

Reply by k3kalinix | 2024-08-19 19:05:22

The easiest way would be to test it on our side and get back to you.

Reply by newbietechbro | 2024-08-19 19:06:10

sure, do you need more information from me to do that

Reply by k3kalinix | 2024-08-19 19:06:17

No, thanks!

Reply by newbietechbro | 2024-08-19 19:06:33

and how long should I expect to get a reply (not meaning to rush but it is quite urgent)

Replying to newbietechbro’s Message

Reply by newbietechbro | 2024-08-19 19:06:33
and how long should I expect to get a reply (not meaning to rush but it is quite urgent)

Reply by k3kalinix | 2024-08-19 19:26:49

Today or tomorrow.

Reply by newbietechbro | 2024-08-19 19:57:48

okay thanks!

Reply by k3kalinix | 2024-08-19 20:20:02

Hello <@796390213164859422>, we need to use Coroutine, as I predicted.

Reply by newbietechbro | 2024-08-19 20:20:14

hello

Reply by k3kalinix | 2024-08-19 20:21:07

Could you please share your C# script?

Reply by newbietechbro | 2024-08-19 20:21:54

sure give me one second i just modified something let me go back to it