pxt icon indicating copy to clipboard operation
pxt copied to clipboard

update: constantly crashes when connecting Minecraft Bedrock to CodeConnection and running any of MakeCode tutorials

Open kochede opened this issue 3 years ago • 5 comments

This bug is reproduced by multiple people in the community and registered in the Mojiang bugtracker, but has no movement: https://bugs.mojang.com/browse/MCPE-113355

The bug description:

Just bought Minecraft Bedrock for PC, running on Windows 10 with all latest updates, latest Minecraft version 1.16.201, downloaded latest CodeConnection.

  • Start CodeConnection, start Minecraft, execute "/connect 192.168.1.153:19131" in Minecraft chat, connects ok
  • click any tutorial in CodeConnection (e.g. "Flower Trail"), use MakeCode/Blocks language, put the simple code for tutorial and click Play button (triangle)
  • go to Minecraft and try to use the code from the tutorial
  • it will run for ~30 seconds and then Minecraft crashes and closes silently. Every time, no exclusions. Tutorials that don't continuously execute code (e.g. a 1-time action call) - may work (if they run shorter than ~30sec)

kochede avatar Feb 28 '21 21:02 kochede

And on a separate note - guys, thank you so much for developing this, it's an absolutely great idea for teaching kids programming! My kids love it and keep asking for it (only if it would work for us, lol)

kochede avatar Feb 28 '21 21:02 kochede

Just to add to the existing comment, we've seen the same thing when my daughter tries to follow the tutorials. Not all tutorials crash it, but we get a crash 100% of the time when doing the super digger tutorial with this really simple program. Same steps as in the original bug report - except it crashes within about 5 seconds every time. This is using: Minecraft v1.16.201 Windows 10 Version 10.0.19042 Build 19042

Minecraft crashes and completely disappears with no other message - the code connection window goes back to the connection string. I attached a full crash log from Minecraft on the Mojang bug tracker link referenced in the original comment.

Minecraft_Crash_MakeCode_Example

adambyram avatar Mar 01 '21 23:03 adambyram

This is fixed in yet to be released Minecraft as per https://github.com/microsoft/pxt/issues/7738

abchatra avatar Mar 05 '21 07:03 abchatra

This is fixed in yet to be released Minecraft as per #7738

I don't see in #7738 any comments that it was fixed, I see you closed that issue a month ago since you couldn't reproduce. Can you please help to find where do you see that it was fixed?

Thanks!

kochede avatar Mar 05 '21 12:03 kochede

One of the members of the minecraft team mentioned in https://github.com/microsoft/pxt/issues/7738#issuecomment-788394925 that a pending bedrock release has a fix for this; the thread over in https://bugs.mojang.com/browse/MCPE-113355 would be most helpful to follow as that should be updated immediately when the fix is available

jwunderl avatar Mar 05 '21 18:03 jwunderl