ConcreteMC / Alex

A Minecraft client written in C# aimed at compatibility with MC:Java & MC:Bedrock
Mozilla Public License 2.0
590 stars 46 forks source link

Stuck on "Waiting for Spawn Chunk" #123

Open lostmsu opened 2 years ago

lostmsu commented 2 years ago

Describe the bug Debug build gets stuck on "Waiting for Spawn Chunk" when trying to load newly created world in singleplayer.

To Reproduce Steps to reproduce the behavior:

  1. Open Minecraft for Windows (aka the UWP edition)
  2. Create new world
  3. Copy the world from AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds\nSkLYoZXAAA= to AppData\Roaming\Alex\storage\worlds
  4. Build and launch Alex in Debug configuration (might also be a problem in Release)
  5. Go to Single Player, select the copied world and click "select"

Expected behavior World should load

Actual behavior App is stuck on "Waiting for Spawn Chunk..."

Screenshots image

Desktop (please complete the following information):

Additional context This is the log:

INFO|Entity|Player health update! Name: minecraft:health, MinValue: 0, MaxValue: 20, Value: 20
INFO|BedrockClientPacketHandler|Received chunkradius. Requested=12 Received=12
WARN|RakConnection|ACK, Failed to remove datagram #35 for Steve. Queue size=2 
WARN|BedrockClientPacketHandler|Unhandled bedrock packet: McpeCreativeContent (0x91) 
INFO|BedrockClientPacketHandler|Registered 19 commands.
INFO|BedrockClientPacketHandler|Play Status: Player spawn
INFO|BedrockClient|Sent LocalPlayerInitialized
WARN|RakConnection|NAK RSND, Resent #38 Type: 0 (0x00) for Steve (265 > 252) RTO 126 
WARN|RakConnection|NAK RSND, Resent #39 Type: 0 (0x00) for Steve (267 > 378) RTO 126 
WARN|RakConnection|NAK RSND, Resent #40 Type: 0 (0x00) for Steve (270 > 504) RTO 126 
WARN|RakConnection|NAK RSND, Resent #41 Type: 0 (0x00) for Steve (272 > 630) RTO 126 
WARN|RakConnection|NAK RSND, Resent #42 Type: 0 (0x00) for Steve (272 > 756) RTO 126 
WARN|RakConnection|NAK, no datagram #47 for Steve 
WARN|RakConnection|NAK, no datagram #48 for Steve 
WARN|RakConnection|NAK RSND, Resent #43 Type: 0 (0x00) for Steve (275 > 252) RTO 118 
WARN|ManagedTaskManager|Task execution time exceeds frametime by 15.63ms skipping 19 frames (Tag=Skin Texture, Player=Steve, Width=64 Height=64) 
WARN|RakConnection|NAK RSND, Resent #50 Type: 0 (0x00) for Steve (321 > 369) RTO 123 
INFO|ConnectionInfo|Players 1, Pkt in/out(#/s) 30/55, ACK(in-out)/NAK/RSND/FTO(#/s) (11-14)/12/29/0, THR in/out(Mbps) 0.01/0.41, PktSz Total in/out(B/s)810/51530, PktSz Avg(100s) in/out(B)11700/10343
INFO|ConnectionInfo|Players 1, Pkt in/out(#/s) 17/16, ACK(in-out)/NAK/RSND/FTO(#/s) (0-16)/0/0/0, THR in/out(Mbps) 0.01/0.00, PktSz Total in/out(B/s)840/112, PktSz Avg(100s) in/out(B)10534/9309
INFO|ConnectionInfo|Players 1, Pkt in/out(#/s) 16/16, ACK(in-out)/NAK/RSND/FTO(#/s) (0-16)/0/0/0, THR in/out(Mbps) 0.01/0.00, PktSz Total in/out(B/s)786/112, PktSz Avg(100s) in/out(B)9485/8378