microsoft / pxt-arcade

Arcade game editor based on Microsoft MakeCode
https://arcade.makecode.com
MIT License
481 stars 209 forks source link

Something wrong if switching JS editor to Blocks in some Blocks Games #2894

Closed Sheila111 closed 3 years ago

Sheila111 commented 3 years ago

Describe the bug Something wrong if switching JS editor to Blocks in some Blocks Games

Steps to reproduce the behavior 1.Navigate to https://arcade.makecode.com/beta#editor 2.Block Games---->Jumpy Platformer----->Open Example

Actual behavior Something wrong if switching JS editor to Blocks in some Blocks Games. But program run normally if switching Python editor to Blocks Jumpy Platformer: 2 Hot Air Balloon: 3 Bunny Hop: 4 Cat Jumper: 5

Additional context 1.OS: Windows(rs6) 2.arcade version: 1.3.32 3.Microsoft MakeCode version: 6.8.19

abchatra commented 3 years ago

@jwunderl looks like a bad bug. Can you please do the initial investigation?

jwunderl commented 3 years ago

this one occurs when switching back to blocks without triggering a decompile (blocks -> js -> blocks with no changes), appears to be same bug as https://github.com/microsoft/pxt-arcade/issues/2905 (repros same way if you go ->assets-> blocks with no changes)