Block Deletion Upon Project Opening

Use this template to make awesome bug reports:

Your username: Swim Girl Studios

What kind of device are you using?: iPad Air 4th gen, iOS 15.1

1 sentence description of the problem:
I exited my project and reentered it and one of my Create a clone blocks was deleted

Steps that the Hopscotch team can take to reproduce my problem every time:
I have been unable to reproduce this in other projects, but it happens every time I close and reopen one of my drafts. It is also deleted whenevery hopscotch crashes.

I expected this to happen:
The block to be kept between opening and closing the draft.

But instead this happened:
The block was deleted each time the draft was opened.

Here’s a sweet screenshot:

For reference the block create a clone is deleted within this code:

When game starts {
    repeat times 5 {
        create a clone              <-----
    set variable to 0

I couldn’t find a similar bug report when I looked, but if someone else sees one, let me know :)


I also saw it happened with check if else containers as well (including everything within). Consistently too. It is so annoying…


Hmm strange. I tested this on a new draft and inserted a bunch of code inside a repeat times 1 container, then exited the draft while the play button was still shaking. Every single block in the container was deleted, including the container itself. When I did it a second time, it didn’t delete the code within. So I’m guessing it happens randomly, or every time the app crashes.

Device Details:
2021 M1 12.9" iPad Pro (iPad13,8)
Software Version: iPadOS 15.2
Hopscotch Version: 3.48.2
Player Version: 1.5.20

Of course, now it doesn’t delete on me anymore…


I’m having this problem too, with a custom block.


This is now happening in 2 objects in this project with the create a clone block in a repeat loop