Open Project Block Breaks Original Project

1 sentence description of the problem: I thought this was just a bug where the when tapped rules stop working, but it’s much worse. (After going into edit mode) Every rule that was running prior to the project being opened via Open Project were all halted and would not run again until restart.

:rotating_light: HUGE NOTE: This bug ONLY occurs in Drafts, or when a Published Project is edited then played. All other cases work as expected, aside from it restarting automatically… :rotating_light:

Steps to reproduce the problem every time:
(Start in a blank draft if possible)

  1. Add an object
  2. Add the open project block
  3. Add 2 when game is playing rules, one with increase var by 1, and the other with set text to var
  • If in published project, tap the pencil icon first, then play
  1. Tap on object to open another project
  2. Tap Goto Previous Project

I expected this to happen: The variable to keep counting where it left off on return

But instead this happened: The variable stops counting for no reason / counter restarts

(Include project link if relevant)

Your username: Crosbyman64

Device type, iOS version: iPad Pro 12.9" (5th-Gen), iPadOS 16.4.1

Hopscotch version & player version: HS 3.65.0, Player 2.2.1
(you can go to :gear: > “About”, and take a screenshot)

This potentially breaks projects that try to redraw the background due to it being automatically erased before going to another project.


If one of the projects dosent have very much code, you could try making it into two scenes.


But if you already published the project a while ago it could be a pain to remake all the code