Search Issue Tracker
Active
Votes
0
Found in [Package]
1.1.1
Issue ID
MTTB-1606
Regression
No
Vivox text chat auto connects to a channel when creating a Multiplayer Relay Session without logging into Vivox channel
Steps to reproduce:
1. Create a new project
2. Import com.unity.multiplayer.widgets package
3. Import com.unity.services.vivox package
4. Import com.unity.netcode.gameobjects package
5. Import Vivox Chat Channel Sample
6. Open MainScene.unity scene
7. In Hierarchy create Multiplayer Widgets > Create > Create Session
8. Enter Play mode
9. Type any session name
10. Press Create
11. Observe as the Vivox automatically logs user in without requiring to input player name
12. Try sending a message
Actual results:
Getting errors because Vivox is not logged in to a channel, but connected automatically by creating a Multiplayer Session
[Vivox]: System.InvalidOperationException: Unable to call VivoxService.Instance.SendChannelTextMessageAsync because you are not currently in any channels.VivoxService.Instance.JoinGroupChannelAsync|JoinEchoChannelAsync|JoinPositionalChannelAsync must be called first.
UnityEngine.Logger:Log (UnityEngine.LogType,string,object)
Unity.Services.Vivox.VivoxLogger:LogException (System.Exception) (at ./Library/PackageCache/com.unity.services.vivox@563fb2c43dc5/Runtime/SDK/Utils/VivoxLogger.cs:16)
Unity.Services.Vivox.VivoxServiceInternal:EnsureIsInChannel (string,string) (at ./Library/PackageCache/com.unity.services.vivox@563fb2c43dc5/Runtime/VivoxServiceInternal.cs:1387)
Unity.Services.Vivox.VivoxServiceInternal/<SendChannelTextMessageAsync>d__198:MoveNext () (at ./Library/PackageCache/com.unity.services.vivox@563fb2c43dc5/Runtime/VivoxServiceInternal.cs:453)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start<Unity.Services.Vivox.VivoxServiceInternal/<SendChannelTextMessageAsync>d__198> (Unity.Services.Vivox.VivoxServiceInternal/<SendChannelTextMessageAsync>d__198&)
Unity.Services.Vivox.VivoxServiceInternal:SendChannelTextMessageAsync (string,string,Unity.Services.Vivox.MessageOptions)
TextChatUI:SendMessage () (at Assets/Samples/Vivox/16.7.0/Chat Channel Sample/Assets/ChatChannelSample/Scripts/UI/TextChatUI.cs:185)
TextChatUI:EnterKeyOnTextField () (at Assets/Samples/Vivox/16.7.0/Chat Channel Sample/Assets/ChatChannelSample/Scripts/UI/TextChatUI.cs:175)
TextChatUI:<Start>b__12_0 (string) (at Assets/Samples/Vivox/16.7.0/Chat Channel Sample/Assets/ChatChannelSample/Scripts/UI/TextChatUI.cs:48)
UnityEngine.EventSystems.EventSystem:Update () (at ./Library/PackageCache/com.unity.ugui@33c00b5f5ddf/Runtime/UGUI/EventSystem/EventSystem.cs:514)
Expected results:
Vivox does not connect automatically and gives option when to log into a Vivox channel when creating a multiplayer session
Reproducible with versions:
Vivox 16.7.0 (6000.3.0b2)
Tested on (OS):
MacOS Sequoia 15.6.1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Terrain's "Add Tree" error helpbox uses the wrong styling
- Error is thrown when deleting "Snapshot" with another Snapshot present in Audio Mixer window
- Prefab Source and Override content bounds are misaligned
- Prefab Source and Override foldouts are not functional
- Terrain Component uses "?" near the "Random" checkbox in "Paint Trees" tool
Add comment