Set Tile At block isn't always setting the Tile At

Hi Gang,
I’m trying to use the set Tile At block to randomly place some collectible tiles across a level, but sometimes it won’t place the selected tile unless I’ve previously placed it onto the tilemap.

The work around is adding, saving and then removing the tile from the tilemap but that seems iffy at best. Am I missing something?

The code is here.

What’s happening to you is a known bug.

I know it’s on Github somewhere…

EDIT: Here was my post encountering the same issue

Here’s the Github issue:

Although it has seemed to have been fixed in a recent version of MakeCode Arcade.

2 Likes