I have a scene that contains two different avatars, each one assigned to a different use case.
What I want to achieve is to interact with each avatar independently, so that triggering interaction with one avatar does not affect the other, and does not cause any conflicts, overlap, or runtime errors.
Each avatar responds only to its own interactions.
There is no shared state that could cause interference between the two avatars.
The system remains stable without unexpected behavior or errors.
I would also like to understand how this can be implemented properly.
Perhaps using two different Character IDs could prevent any mixup between the avatars.
Additionally, would it be possible to handle this by using a custom script that controls which avatar is active based on the camera focus or interaction logic?
I am not entirely sure, but this might be achievable by modifying the existing NPC Manager script, or possibly removing it altogether and replacing it with a custom script that handles each NPC independently.
I have two different NPCs in the environment, and i can talk to only one of them at a time. Do I need to take any action to prevent interruptions or conflicts between the two NPCs during interaction?
sI apologize for the misunderstanding. What I meant is the following:
When I try to talk to the first avatar inside the VR environment, it does not respond. The second avatar, on the other hand, does not speak at all.
Inside VR, I can only see the chat box for the first avatar, but the avatar itself does not speak or respond. For the second avatar, nothing appears at all, and I cannot interact with it in any way.
My question is whether there could be any interference or conflict between the two avatars that is causing this behavior.
PS: the avatar is working fine inside the unity editor.
Thank you so much. I know I’m asking a lot, but I really need to resolve everything before tomorrow.
If it works flawlessly in Unity Editor, the problem isn’t with the plugin. It might be related to your VR headset, connection, microphone, etc. You should check your VR logs.