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

Corrupted my friends Realm #278

Open
jurassicjordan opened this issue Jun 21, 2021 · 9 comments
Open

Corrupted my friends Realm #278

jurassicjordan opened this issue Jun 21, 2021 · 9 comments

Comments

@jurassicjordan
Copy link

jurassicjordan commented Jun 21, 2021

Died in my friends realm and caused it to completely corrupt. upon joining the realm the game turns into an empty sky and I am teleported to 0,5,0. Happened when drowning underground in 1.17. My game froze and went grey. My friends are VERY upset with me, thanks a lot.

@mqualizz
Copy link

I've seen similar corruption with my own servers. Tell your friend to use a world editor, and look at the Players. For each Player, look at the Rotation value, it should look like "Rotation: 2 entries (Facing NE, Looking Up)". If it says "...Facing ,...", (e.g. no direction) then expand that entry and change the first value from NaN to some number (e.g. 0)

@GenericHeroGuy
Copy link

Fixed this bug in a realm and survival world by logging in on my phone, opening the settings and changing the view to third person

@GameParrot
Copy link

The third person thing worked. I think a note about it should be added to the launcher.

@mqualizz
Copy link

My question is... how is this the launcher's fault? I can see that possibly being an issue on a personal world, but in my case it's happening on a remote world (run on a linux server). I think that this should be an issue raised against Minecraft (it doesn't handle a NaN facing direction correctly)

@GameParrot
Copy link

Has this happened to anyone using the official Android version on a real phone or tablet (not an emulator)?

@chinoto
Copy link

chinoto commented Jun 26, 2021

@mqualizz That threw me off too. All the more reason to use languages that incorporate Option/Result, they make error handling mostly painless and required. Wouldn't necessarily help with NaN on its own, but I feel like the prevalence of Option/Result in the standard library keeps one a bit more wary of potential errors.

@mqualizz
Copy link

@mqualizz That threw me off too. All the more reason to use languages that incorporate Option/Result, they make error handling mostly painless and required. Wouldn't necessarily help with NaN on its own, but I feel like the prevalence of Option/Result in the standard library keeps one a bit more wary of potential errors.

I haven't done any Rust, but from my quick glance at Option/Result (and thus my probably flawed understanding), I'd have to agree. It seems similar what Kotlin/FlowJS/Typescript do w.r.t. variables that can contain null(-ish, for the latter two) values.

@Joemackley
Copy link

I'll have to try that 3rd person view fix, but realms auto backs up anyway so for me I was always able to fix this by restoring a realm backup, as far as I can tell this bug seems to happen when working in water, although that could just be me

@tassaron
Copy link

Seems like this is the bug which happened to me. I was connected to a dedicated server running on Ubuntu, from another computer running Ubuntu. Fixed it by writing a Python script to roll back my player data without rolling back the entire world. I'll have to test the 3rd-person-camera fix next time it happens to me.

(For the record, I'm super grateful for the work that goes into this free unofficial launcher! Thank you to the creator)

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

7 participants