Restart messes stuff up

Use this template to make awesome bug reports:

Your username:

Sage Dragon

What kind of device are you using?:

iPhone 7 (?)

1 sentence description of the problem (I was doing _________, and then __________ happened):

I was testing the layout for my project and then I hit the restart button and nothing works (width is weird and visibility is off)

Steps that the Hopscotch team can take to reproduce my problem every time:

  1. Play the project
  2. Hit restart
    ….

I expected this to happen:

I restarted the project to go back to the start

But instead this happened:

Everything showed up weirdly

Here’s a sweet screenshot:

Code:

Before (when played):

After (when restarted):

12 Likes

That is very weird.

5 Likes

I have the same thing, some objects aren’t behaving like they would before restarting

4 Likes

Strange

4 Likes

Odd. Okay…

4 Likes

That is very odd. What happens if you restart it one more time (playing the project, then restarting it, and then restarting it again)? Does that fix the problem you are experiencing?

5 Likes

No. Once it is restarted once, you have to return to the editor and then play again to return to normal gameplay. Repeated restarts show the same relies.

5 Likes

Wow, that is very weird then… and you are on the latest Hopscotch version?

3 Likes

Hmm, I’m not sure

I’ll check

3 Likes

Okay I’m all updated

3 Likes

Does it happen every time you restart? Is it fixed when you go into the editor and back? What is the code? Link?

What are setting their width and height to?

4 Likes

Yes

Yep

https://c.gethopscotch.com/p/10iqqte9t2

For some of the object there wasn’t that block, and for the other one that had that, I got rid of it

2 Likes

Is it still happening even after you update?

I played refs project and was tryna fix it but then on the 5th or 6th restart, this happened to me too

2 Likes

It seems to be the set text to a space is setting the width to the width of the space. I’ll try a zero width space (​)

3 Likes

Yep! It’s the spaces.

Copy and paste the line below this instead of a regular space.

3 Likes

I didn’t update

I was already fully updated

2 Likes

Won’t let me copy that haha

But thanks for figuring out the problem!

2 Likes

Hm ok same here.

3 Likes

Try copying that

4 Likes

I’m on a phone and it only shows up with the quote option

Would use my iPad keyboard but my school blocked it :c

3 Likes