# \[Bug Report\] Platformer extension bug!

**URL:** <https://forum.makecode.com/t/bug-report-platformer-extension-bug/44794>\
**Category:** Help\
**Created:** [July 6, 2026, 5:18pm UTC](https://forum.makecode.com/t/bug-report-platformer-extension-bug/44794 "2026-07-06T17:18:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![LazerTag2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lazertag2/32/32715_2.png) [@LazerTag2](https://forum.makecode.com/u/LazerTag2)\
**Post date:** [July 6, 2026, 5:18pm UTC](https://forum.makecode.com/t/bug-report-platformer-extension-bug/44794/1 "2026-07-06T17:18:58Z")

</div>

> **[Platformer](https://arcade.makecode.com/S32726-93438-00072-79199)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Whenever I use blocks from the platformer extension by richard, the game always bugs

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [July 6, 2026, 10:29pm UTC](https://forum.makecode.com/t/bug-report-platformer-extension-bug/44794/2 "2026-07-06T22:29:47Z")

</div>

what’s the bug? can you give me some specifics on what isn’t working?

---

<div class="post-metadata">

**Author:** ![LazerTag2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lazertag2/32/32715_2.png) [@LazerTag2](https://forum.makecode.com/u/LazerTag2)\
**Post date:** [July 6, 2026, 10:37pm UTC](https://forum.makecode.com/t/bug-report-platformer-extension-bug/44794/3 "2026-07-06T22:37:26Z")

</div>

> **[Platformer](https://arcade.makecode.com/S23030-48092-33896-80655)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I just changed the player into a platformer sprite and now the game is blaming the bug on other stuff

---

<div class="post-metadata">

**Author:** ![LazerTag2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lazertag2/32/32715_2.png) [@LazerTag2](https://forum.makecode.com/u/LazerTag2)\
**Post date:** [July 6, 2026, 10:37pm UTC](https://forum.makecode.com/t/bug-report-platformer-extension-bug/44794/4 "2026-07-06T22:37:27Z")

</div>

Sorry, whenever the game pauses, the game glitches. Like when I press menu, or game over win/lose, or splash screen, etc.

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [July 6, 2026, 10:54pm UTC](https://forum.makecode.com/t/bug-report-platformer-extension-bug/44794/5 "2026-07-06T22:54:18Z")

</div>

fixed! here’s your project with the version of the extension i just pushed:

> **[Platformer](https://arcade.makecode.com/S88404-43531-56937-57198)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![LazerTag2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lazertag2/32/32715_2.png) [@LazerTag2](https://forum.makecode.com/u/LazerTag2)\
**Post date:** [July 7, 2026, 2:12am UTC](https://forum.makecode.com/t/bug-report-platformer-extension-bug/44794/6 "2026-07-07T02:12:51Z")

</div>

Thanks

---

<div class="post-metadata">

**Author:** ![LazerTag2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lazertag2/32/32715_2.png) [@LazerTag2](https://forum.makecode.com/u/LazerTag2)\
**Post date:** [July 7, 2026, 2:12am UTC](https://forum.makecode.com/t/bug-report-platformer-extension-bug/44794/7 "2026-07-07T02:12:55Z")

</div>

How did you do it?

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [July 7, 2026, 5:08pm UTC](https://forum.makecode.com/t/bug-report-platformer-extension-bug/44794/8 "2026-07-07T17:08:10Z")

</div>

if you’re asking how i fixed the bug, here’s the change:

> <https://github.com/microsoft/arcade-platformer/commit/ef3fdb6a8b1b0e56d33aefef316895cf3979719b>

the custom.ts part of that is the only part that actually matters. to figure out what the problem was, i opened the console in my browser and looked at the exception that was being thrown. once i found that and realized it was only happening when the scene changed (all the blocks you mentioned are ones that push a scene on the scene stack), it was pretty obvious what the issue was.

if you’re asking how i updated the version in your project without messing up your blocks code, i used a trick:

1. swapped to the javascript editor
2. in the file explorer underneath the simulator, clicked the update version button on the extension
3. once the editor reloaded, i made an error in the main.ts file
4. clicked the blocks button. an error dialog popped up saying that it couldn’t convert my program to blocks
5. click the button to skip the decompile and go straight to blocks

in general, i never recommend doing the above to skip the decompiler in your program unless you really know what you’re doing. loading an old blocks file after removing or updating an extension that defines blocks used in that file can cause all sorts of weird bugs. i just happened to know in this case that i didn’t change any of the blocks, so it was safe to do.
