#Vivox issues

1 messages · Page 1 of 1 (latest)

velvet valley
#

Post your code here and we can see what might be happening

crystal spoke
# velvet valley Post your code here and we can see what might be happening
using System.Collections;
using System.Collections.Generic;
using Unity.Services.Vivox;
using UnityEngine;

public class ChatHandler : MonoBehaviour
{
    void channelJoined(string channel) {
        Debug.Log("joined " + channel);
    }

    async void Initiate()
    {
        VivoxService.Instance.ChannelJoined += channelJoined;

        // echo channel: await VivoxService.Instance.JoinEchoChannelAsync("TestChannel", ChatCapability.AudioOnly);

        Channel3DProperties properties = new Channel3DProperties();

        await VivoxService.Instance.JoinPositionalChannelAsync("LobbyVC", ChatCapability.TextAndAudio, properties);
    }

    void Start()
    {
        Initiate();  
    }

    void Update() {
        if (VivoxService.Instance.ActiveChannels.Count > 0) {
            VivoxService.Instance.Set3DPosition(transform.GetChild(0).gameObject, "LobbyVC");
        }
    }
}
#

(script inside the player prefab.)

crystal spoke
#

Any ideas @velvet valley ?

velvet valley
crystal spoke
velvet valley
#

are you sure transform.GetChild(0).gameObject position is correct. Does the same thing happen when you use gameObject there

crystal spoke
#

I tested my mic in a echo channel it's functioning normally.

#

I could send you a scene perhaps

crystal spoke
#

@velvet valley do u want me to send u a scene

velvet valley
#

Sure. It might be a minute before I can get to it though

crystal spoke
#

@velvet valley

crystal spoke
#

@velvet valley looked at it yet..?

crystal spoke
#

@velvet valley ???

velvet valley
#

Sorry. been dealing with this Crowdstrike issue in my Day job all weekend and its not letting up any time soon