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

Join world hangs on chunk download with github actions build #67

Closed
JWhitmore1 opened this issue Dec 27, 2021 · 13 comments
Closed

Join world hangs on chunk download with github actions build #67

JWhitmore1 opened this issue Dec 27, 2021 · 13 comments
Labels
bug Something isn't working

Comments

@JWhitmore1
Copy link
Contributor

JWhitmore1 commented Dec 27, 2021

Describe the bug
see title

To Reproduce
Steps to reproduce the behavior:

  1. launch world

Expected behavior
world opens

Extra information (please complete the following information

  • OS: macOS 11.6
  • Hardware: M1 MacBook Air
  • Build: d96c3ff
27-12-2021 21:15:39.8790 n/a [info ] Loading plugins
27-12-2021 21:15:39.8870 n/a [info ] Loading registries
27-12-2021 21:15:39.8870 n/a [info ] Loading cached block registry
27-12-2021 21:15:39.9830 n/a [info ] Loading cached biome registry
27-12-2021 21:15:39.9850 n/a [info ] Loading cached fluid registry
27-12-2021 21:15:39.9860 n/a [info ] Loading cached entity registry
27-12-2021 21:15:39.9870 n/a [info ] Loading resource pack
27-12-2021 21:15:39.9880 n/a [debug] Loading resources from 'realms' namespace
27-12-2021 21:15:39.9880 n/a [debug] Loading textures
27-12-2021 21:15:39.9880 n/a [debug] Loading biome colors
27-12-2021 21:15:39.9880 n/a [debug] Loading cached block models
27-12-2021 21:15:39.9890 n/a [debug] Loading resources from 'minecraft' namespace
27-12-2021 21:15:39.9890 n/a [debug] Loading textures
27-12-2021 21:15:40.1300 n/a [debug] Loading biome colors
27-12-2021 21:15:40.1330 n/a [debug] Loading cached block models
27-12-2021 21:15:40.3460 n/a [info ] Done (572.47ms)
27-12-2021 21:15:41.8870 n/a [debug] Packet received, id=0x00
27-12-2021 21:15:41.8880 n/a [debug] Received ping response from play.stackotter.dev:36112
27-12-2021 21:15:45.1630 n/a [debug] Packet received, id=0x03
27-12-2021 21:15:45.1640 n/a [debug] Packet received, id=0x02
27-12-2021 21:15:45.1670 n/a [debug] Packet received, id=0x25
27-12-2021 21:15:45.1670 n/a [debug] Packet received, id=0x18
27-12-2021 21:15:45.1670 n/a [debug] plugin message received with channel: minecraft:brand
27-12-2021 21:15:45.1670 n/a [debug] Packet received, id=0x0d
27-12-2021 21:15:45.1670 n/a [debug] Packet received, id=0x31
27-12-2021 21:15:45.1670 n/a [debug] Packet received, id=0x3f
@JWhitmore1 JWhitmore1 added the bug Something isn't working label Dec 27, 2021
@ninjadev64
Copy link
Contributor

I can reproduce this too, on both the test server and on a local server. Some extra context:

  • the progress bar shows as stuck on loading 0 chunks
  • server logs show join and then instant disconnect

@stackotter
Copy link
Owner

@MoustacheOff has run into this issue on Monterey (#114).

Their context

OS: macOS 12.4
Hardware: M1 Mac mini
Build: 0b76c80

@stackotter
Copy link
Owner

@MoustacheOff what account type are you logged in with?

@MoustacheOff
Copy link

@MoustacheOff what account type are you logged in with?

I'm using a Microsoft account. (migrated)

@MoustacheOff
Copy link

@stackotter I can test using a new account (created after Microsoft's migration) if needed.

@stackotter
Copy link
Owner

The issue might possibly be related to using an online account. To test if it's that, try using an offline account instead. A migrated account shouldn't make a difference, my account is migrated and it works.

My hunch is that this whole issue is related to me starting to use Swift's new structured concurrency feature (which seems to be a bit buggy in terms of SwiftPM and distribution.

@stackotter
Copy link
Owner

Nevermind, the Monterey case was a false positive, I miss diagnosed it. Thanks @ninjadev64 for noticing

@ninjadev64
Copy link
Contributor

Did we have any ideas on what's causing this? I still experience this issue and would like to resolve it so I can see all the new progress, and contribute more as well.

@stackotter
Copy link
Owner

Not really, no one experiencing it has had Xcode or the skills to debug it. If you can install xcode then I can walk you through looking for causes

@ninjadev64
Copy link
Contributor

Then that's exactly what I'll do today :∆

@ninjadev64
Copy link
Contributor

I've got Xcode now. This is the full log produced from a fresh install of a local debug build.

➜  ~ /Users/aman/GitHub\ Desktop/delta-client/.build/bundler/DeltaClient.app/Contents/MacOS/DeltaClient ; exit;
25-10-2022 18:14:05.2330 DeltaClient [info ] Creating plugins directory
25-10-2022 18:14:05.2400 DeltaClient [info ] Downloading vanilla assets (might take a little while)
25-10-2022 18:14:05.2520 DeltaCore [info ] Fetching version manifest
25-10-2022 18:14:05.5390 DeltaCore [info ] Downloading client jar
25-10-2022 18:14:10.3080 DeltaCore [info ] Extracting client jar
25-10-2022 18:14:22.9570 DeltaCore [info ] Copying assets
25-10-2022 18:14:25.5100 DeltaCore [info ] Creating pack.mcmeta
25-10-2022 18:14:25.5120 DeltaClient [info ] Loading registries
25-10-2022 18:14:25.5160 DeltaCore [info ] Loading cached block registry
25-10-2022 18:14:25.5220 DeltaCore [warn ] Failed to load cached registries; failedToLoadFromCache(Error Domain=NSCocoaErrorDomain Code=260 "The file “blocks.bin” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/aman/Library/Application Support/dev.stackotter.delta-client/registries/blocks.bin, NSUnderlyingError=0x7fa7e3c3ca20 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}})
25-10-2022 18:14:25.5220 DeltaCore [info ] Downloading registries
25-10-2022 18:14:25.5220 DeltaCore [info ] Downloading and decoding pixlyzer items
25-10-2022 18:14:26.0670 DeltaCore [info ] Downloading and decoding pixlyzer fluids
25-10-2022 18:14:26.1830 DeltaCore [info ] Downloading and decoding pixlyzer biomes
25-10-2022 18:14:26.3230 DeltaCore [info ] Downloading and decoding pixlyzer blocks
25-10-2022 18:14:35.7120 DeltaCore [info ] Downloading and decoding pixlyzer entities
25-10-2022 18:14:35.9470 DeltaCore [info ] Downloading and decoding pixlyzer shapes
25-10-2022 18:14:36.1250 DeltaCore [info ] Processing pixlyzer fluid registry
25-10-2022 18:14:36.1260 DeltaCore [info ] Processing pixlyzer biome registry
25-10-2022 18:14:36.1280 DeltaCore [info ] Processing pixlyzer entity registry
25-10-2022 18:14:36.1330 DeltaCore [info ] Processing pixlyzer block registry
25-10-2022 18:14:36.4010 DeltaCore [info ] Processing pixlyzer item registry
25-10-2022 18:14:36.4320 DeltaCore [info ] Caching block registry
25-10-2022 18:14:47.6110 DeltaCore [info ] Caching biome registry
25-10-2022 18:14:47.6210 DeltaCore [info ] Caching fluid registry
25-10-2022 18:14:47.6240 DeltaCore [info ] Caching entity registry
25-10-2022 18:14:47.6310 DeltaCore [info ] Caching item registry
25-10-2022 18:14:47.6630 DeltaClient [info ] Loading resource pack
25-10-2022 18:15:41.1960 DeltaClient [info ] Starting
25-10-2022 18:15:41.2000 DeltaClient [info ] Done (109935.03ms)
Dimension(identifier: minecraft:overworld, ambientLight: 0.0, infiniburn: Optional(minecraft:infiniburn_overworld), fixedTime: nil, logicalHeight: 256, isNatural: true, hasCeiling: false, hasSkyLight: true, shrunk: false, ultrawarm: false, hasRaids: true, respawnAnchorWorks: false, bedWorks: true, piglinSafe: false)
Dimension(identifier: minecraft:overworld, ambientLight: 0.0, infiniburn: Optional(minecraft:infiniburn_overworld), fixedTime: nil, logicalHeight: 256, isNatural: true, hasCeiling: false, hasSkyLight: true, shrunk: false, ultrawarm: false, hasRaids: true, respawnAnchorWorks: false, bedWorks: true, piglinSafe: false)
Dimension(identifier: minecraft:overworld, ambientLight: 0.0, infiniburn: Optional(minecraft:infiniburn_overworld), fixedTime: nil, logicalHeight: 256, isNatural: true, hasCeiling: false, hasSkyLight: true, shrunk: false, ultrawarm: false, hasRaids: true, respawnAnchorWorks: false, bedWorks: true, piglinSafe: false)

I left it at "Downloading chunks" for ~5mins, then hit Cancel and CMD+Q.

@ninjadev64
Copy link
Contributor

Can we rename this issue to something along the lines of "Soft hang while downloading chunks on Big Sur"? The current title is misleading as this behaviour is experienced on local builds as well, and is limited to Big Sur.

@ninjadev64
Copy link
Contributor

The commit that introduces this bug is dbbb22a.

This bug is nearing it's 1 year anniversary, so can we please get it resolved? 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants