Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First time a player joins with Bedrock, the entire client crashes #5162

Open
Sikatsu opened this issue Nov 23, 2024 · 7 comments
Open

First time a player joins with Bedrock, the entire client crashes #5162

Sikatsu opened this issue Nov 23, 2024 · 7 comments

Comments

@Sikatsu
Copy link

Sikatsu commented Nov 23, 2024

Describe the bug

Everytime when a newcomer joins, their entire client crashes. When they boot the client another time, then they can join the server just fine.

To Reproduce

  1. Join mc.villagercraft.nl:19132 for the first time using Bedrock.
  2. Your client will crash
  3. Boot the client another time and rejoin
  4. Boom, you're now able to play

Expected behaviour

Simply said, I do not expect bedrock players to crash the first time. I have spend lots of hours to make the server as much java as bedrock compatible and it seems most people do not try to join the server a second time. This causes that at least 90% if not more of the bedrock players simply don't stay.

Screenshots / Videos

No response

Server Version and Plugins

Velocity 3.4.0-SNAPSHOT (git-cefa3b27-b450)
Paper version 1.21.1-131

Geyser Dump

https://dump.geysermc.org/cVzK1Cv1eCOOe6gzRzu8Vz73gscL4guK

Geyser Version

2.5.0-b716

Minecraft: Bedrock Edition Device/Version

PC

Additional Context

We have Geyser on Velocity and Floodgate both on Velocity and the backend servers. We also have ViaVersion installed on the backend servers.

@Camotoy
Copy link
Member

Camotoy commented Nov 23, 2024

If a player has joined before, ever, will they be fine?

@Sikatsu
Copy link
Author

Sikatsu commented Nov 24, 2024

If a player has joined before, ever, will they be fine?

They will be fine indeed.
It only happens the first time they join, then the client will crash.

I noticed that many people do not retry and just try the next server on the server lists and that really makes me sad to see.
I have absolutely no clue why they crash on their very first join..

Thanks for your reply Camotoy, appreciate it.

@Camotoy
Copy link
Member

Camotoy commented Nov 24, 2024

This will be difficult for us to debug, as we have basically one go per account to test this before it breaks.
At the same time, we can't just ask you to start removing plugins because this isn't easy to test.

Do you have any extra behavior when a new player logs in? A special message? A book?

@Sikatsu
Copy link
Author

Sikatsu commented Nov 24, 2024

It is very difficult to debug for that same reason, that's why I am stuck on this matter as well.
We do not have any extra behaviour when the player logs in. There are 2 small holograms that load within the radius, there are no entities nearby. There is no information within the consoles on why they crash and I am not sure if bedrock client has any logs that show us more information (not familiar with bedrock at all..)

I did remove some plugins I thought could be it, like disabling the scoreboard plugin and such. No luck though..

@Sikatsu
Copy link
Author

Sikatsu commented Nov 24, 2024

image
This is how they join and these are the 2 holograms as well.
After 15 seconds they disappear and disconnect while the player has never seen anything in-game.

@Kas-tle
Copy link
Member

Kas-tle commented Nov 24, 2024

packets_with_crash.log
packets_without_crash.log

I took packet capture from my first time joining, which did produce a crash, and the next time, which did not. According to my event viewer log, the crash occurs at 2024-11-24T03:18:29.0679728Z which should translate to logs roughly before 19:18:29:366 in the provided packet log with crash.

Also your contention that there is no actions that only run on the first time a player joins seems incorrect. For example, there seem to be some titles that are only displayed on first join according to the capture.

@Kas-tle
Copy link
Member

Kas-tle commented Nov 24, 2024

Also could you please provide a list of plugins for the lobby, and are you using any datapacks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants