question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiplayer fails to start

See original GitHub issue

Type

Game behaviour

Bug description

Sometimes, the lobby fails to send players to the game. This is the relevant snippet of the logs that I have collected and appear from all players that participated from lobby of 40 players.

2022-03-27 09:12:32 [verbose]: ⚠️ One or more errors occurred. (An unexpected error occurred invoking 'ChangeState' on the server. InvalidStateChangeException: Cannot change from Idle to Loaded)
2022-03-27 09:12:32 [verbose]: Focus contention triggered by NotificationOverlay.
2022-03-27 09:14:18 [error]: An unobserved error has occurred.
2022-03-27 09:14:18 [error]: System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (An unexpected error occurred invoking 'AbortGameplay' on the server. InvalidStateException: Cannot abort gameplay while not in a gameplay state)
2022-03-27 09:14:18 [error]: ---> Microsoft.AspNetCore.SignalR.HubException: An unexpected error occurred invoking 'AbortGameplay' on the server. InvalidStateException: Cannot abort gameplay while not in a gameplay state
2022-03-27 09:14:18 [error]: at Microsoft.AspNetCore.SignalR.Client.HubConnection.InvokeCoreAsyncCore(String methodName, Type returnType, Object[] args, CancellationToken cancellationToken)
2022-03-27 09:14:18 [error]: at Microsoft.AspNetCore.SignalR.Client.HubConnection.InvokeCoreAsync(String methodName, Type returnType, Object[] args, CancellationToken cancellationToken)
2022-03-27 09:14:18 [error]: --- End of inner exception stack trace ---
2022-03-27 09:14:18 [error]: An unobserved error has occurred. (inner)
2022-03-27 09:14:18 [error]: Microsoft.AspNetCore.SignalR.HubException: An unexpected error occurred invoking 'AbortGameplay' on the server. InvalidStateException: Cannot abort gameplay while not in a gameplay state
2022-03-27 09:14:18 [error]: at Microsoft.AspNetCore.SignalR.Client.HubConnection.InvokeCoreAsyncCore(String methodName, Type returnType, Object[] args, CancellationToken cancellationToken)
2022-03-27 09:14:18 [error]: at Microsoft.AspNetCore.SignalR.Client.HubConnection.InvokeCoreAsync(String methodName, Type returnType, Object[] args, CancellationToken cancellationToken)
2022-03-27 09:14:18 [verbose]: ⚠️ An unobserved error has occurred.

Screenshots or videos

No response

Version

2022.327.0

Logs

Full log: runtime.log

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
peppycommented, Mar 30, 2022

This change has not been deployed yet. It should happen today or tomorrow.

0reactions
respektivecommented, Mar 30, 2022

Alright that’s my bad then, thought it has been since the issue has been closed. 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot multiplayer connection errors
Run the connection test again (Profile & system > Settings > General > Network settings > Test multiplayer connection). If this does not...
Read more >
Trapped in a multiplayer game that fails to start - Bug Report
Myself and a team of other players are currently trapped in a game that will not start. Our player sprites do not load....
Read more >
Unable to play multiplayer. For some reason or another I ...
For some reason or another I literally cannot play multiplayer. It just doesn't go past the connecting screeen and then the game crashes...
Read more >
How to fix Minecraft stuck on “connecting to multiplayer ...
Step 2: Check your network connection · Restart your device and router to ensure a stable and fast internet connection for online gaming....
Read more >
Multiplayer games will not connect to internet
Multiplayer games will not connect to internet · 1. Updating drivers · 2. Disabling firewall/antivirus · 3. Updating Windows 10 · 4. Turning...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found