microsoft / pxt-arcade

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

Retrying in Kiosk Mode stuck at loading #6452

Open MFHSchool opened 2 weeks ago

MFHSchool commented 2 weeks ago

Describe the bug When retrying a game in kiosk mode, the screen is stuck at loading.

To Reproduce Steps to reproduce the behavior:

  1. Open Kiosk (https://arcade.makecode.com/--kiosk)
  2. Add a game via Kiosk Pin
  3. Play the Game to the end
  4. Press retry
  5. Stuck at Loading...

Expected behavior The game should restart.

Desktop (please complete the following information):

Desktop (please complete the following information):

Additional context The browser console shows

TypeError: Cannot read properties of undefined (reading 'config')
    at y (pxtembed.js:67:526569)
    at t.simulateAsync (pxtembed.js:67:531832)
    at ---run?id=25596-93472-22202-02462&hideSimButtons=1&noFooter=1&single=1&fullscreen=1&autofocus=1&loadingColor=white&server=1:240:32
abchatra commented 2 weeks ago

@MFHSchool can you please share the game you are trying to add?

MFHSchool commented 4 days ago

One example is https://makecode.com/_hgRgfJADvbWc. But this happens with every game. Even the preloaded games, such as Space Destroyer get stuck at Loading after pressing retry.