# Error when using Makecode Arcade in Google Chrome?

**URL:** https://forum.makecode.com/t/error-when-using-makecode-arcade-in-google-chrome/21210
**Category:** Arcade
**Created:** [July 14, 2023, 3:48pm UTC](https://forum.makecode.com/t/error-when-using-makecode-arcade-in-google-chrome/21210 "2023-07-14T15:48:52Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![apares8](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@apares8](https://forum.makecode.com/u/apares8)
#### Post date: [July 14, 2023, 3:48pm UTC](https://forum.makecode.com/t/error-when-using-makecode-arcade-in-google-chrome/21210/1 "2023-07-14T15:48:52Z")

</div>

I have been using Makecode Arcade in my classes for over a year and I am delighted. For a few months, every time we open a game that has already been created and we are going to edit it, it is very common to find that the game does not load because it detects an error in the control block, like this:

 ![Captura de pantalla 2023-07-14 113748](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/a/a17b5614e879bd126fcf1744f48a5650e97171ad.png)

This error always happens to us with Google Chrome (Edge works fine), and to fix it in chrome it is enough to delete the block and insert it again. The issue is that in classes with many children it is not so easy for them to change this block if they have never used the platform, and using edge in some schools is not possible for us.

How can it be easily solved?

---

<div class="post-metadata">

### Author: ![kjw](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kjw](https://forum.makecode.com/u/kjw)
#### Post date: [July 17, 2023, 4:39pm UTC](https://forum.makecode.com/t/error-when-using-makecode-arcade-in-google-chrome/21210/2 "2023-07-17T16:39:39Z")

</div>

If you hover your mouse over the black warning triangle it will show you a pop-up with the warning message in it. What does that say? BTW, some types of window image capture can fail to get those pop-ups.

---

<div class="post-metadata">

### Author: ![apares8](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@apares8](https://forum.makecode.com/u/apares8)
#### Post date: [July 18, 2023, 8:07pm UTC](https://forum.makecode.com/t/error-when-using-makecode-arcade-in-google-chrome/21210/3 "2023-07-18T20:07:05Z")

</div>

![error](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/6/627dd04cff13ca77f3a39c2e955e9dc11f6291ee.png)

---

<div class="post-metadata">

### Author: ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)
#### Post date: [July 18, 2023, 8:55pm UTC](https://forum.makecode.com/t/error-when-using-makecode-arcade-in-google-chrome/21210/4 "2023-07-18T20:55:18Z")

</div>

I see, this is an issue with the translation in crowdin for the `on button pressed` block; the translator reordered the variables on a block that does not currently support that due to legacy issues

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/7e97c0892300bffa36362835c5df87bdf16fe431.png)

[https://crowdin.com/translate/makecode/2958/en-es#789801](https://crowdin.com/translate/makecode/2958/en-es#789801)

(if anyone seeing this has experience with authoring blocks, this is the main reason for the change from using % to $, since with the new behavior for $params we are able to support reordering the values but it required breaks in behavior to support it - in this case, the two parameters are getting swapped when changing languages, producing invalid blocks. We added some logic to detect and reject these blocks when we ran into this before, and in this case it’s actually correctly getting rejected in beta due to a fix for a similar issue in micro:bit)

In this case, the issue is popping up when you switch from spanish translation to english translation in a new browser session (probably cookies being cleared) – if you switch back to spanish they should work again.

I’ll need to poke at this a bit to see how we can handle this issue for now in a way that ideally doesn’t break existing projects when fixing it 😕

---

<div class="post-metadata">

### Author: ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)
#### Post date: [July 19, 2023, 5:38pm UTC](https://forum.makecode.com/t/error-when-using-makecode-arcade-in-google-chrome/21210/5 "2023-07-19T17:38:36Z")

</div>

Quick update here, put up [https://github.com/microsoft/pxt/pull/9611](https://github.com/microsoft/pxt/pull/9611) and [https://github.com/microsoft/pxt-arcade/pull/5996](https://github.com/microsoft/pxt-arcade/pull/5996) which catches invalid translations like these / attempts to fix the invalid translations when they make their way in; will try and port these to live site so we can cut down on these issues.

---

<div class="post-metadata">

### Author: ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)
#### Post date: [July 21, 2023, 9:37pm UTC](https://forum.makecode.com/t/error-when-using-makecode-arcade-in-google-chrome/21210/6 "2023-07-21T21:37:42Z")

</div>

@apares8 I have pushed out a release that should fix this issue; you will likely notice that the translation for this block is no longer applied in the new version, as that will need to be retranslated correctly on crowdin before it goes out again (e.g. link in previous post).

It’s possible that the issue might occur one more time when opening up their previous projects now; I added some upgrade logic to try and fix it but that only works if it can be detected. For that to apply you’ll want to make sure they are in the correct language before loading up the project, and hopefully it’ll be fixed & ready to go with no more issues. Thanks again for pointing this out!

---

<div class="post-metadata">

### Author: ![danger\_kitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danger_kitty/32/32006_2.png) [@danger\_kitty](https://forum.makecode.com/u/danger_kitty)
#### Post date: [July 23, 2023, 2:58am UTC](https://forum.makecode.com/t/error-when-using-makecode-arcade-in-google-chrome/21210/7 "2023-07-23T02:58:04Z")

</div>

YEY I had a similar problem
