Hello I am not 100% sure on how to replicate this, but it seems if there is a loss of internet during a login attempt the State of the LoginSession can get stuck at LoggingOut.
If I try 4 or 5 times by disconnecting my internet during the LoginAsync I can easily get it to this state.
Once this happens, it seems there is no real way to recover.
Calling additional Logout() calls gets blocked because the state is not logged in, and additional Login() calls get blocked because the session is not logged out.
(LoginSession: Invalid State - must be logged out to perform this operation.)
Is there a quick workaround that I can add to try and clear a failed Logout call?
Thanks
1 Like
up!
I have same issue. I’ve posted the error logs in this thread
Hi, we’re aware of an issue here and are planning on fixing it in our next release.
Hi,We also encountered the same problem in version 5.27.0.unr.dev. Which version has it fixed?
Hello, ChenJie. This thread originally reported an issue with the Vivox Unity SDK, although it’s my understanding that the same issue was discovered and fixed in the Vivox Unreal SDK too, starting with version 5.24.0.unr.0 released July 2024.
If you’re still seeing the same problem now in the latest Vivox Unreal plugin 5.27.0.unr.0, it’s possible there was a regression, or it is simply a similar issue with a different cause.
Are you able to provide logs or specific reproduction steps to encounter your issue in version 5.27.0.unr.0?
Thank you, but I cannot upload files (it seems that new users cannot upload), so I can only paste the log:
/* <Log text removed for privacy> */
Hello, Chenjie. I reviewed the pasted log, but it appears cut off. It is possible that message bodies for a standard text post are restricted to some limited number of characters, and you are running into this limit.
In the 76 visible lines, I did not see any errors encountered. It looks like you successfully connected to the Vivox server, logged in, joined a channel, and then requested to leave the channel and logout. The log ends before those requests complete.
Please fill out the Vivox Support form linked here to file a support request. This will allow you to attach complete logs and provide other details about the issue you are experiencing.
In the meantime, as a Unity staff member and Discussions moderator, I have edited your message to remove the pasted log for privacy. I made a local copy to reference if needed.