If Blank Freeze [CLOSED]

I don’t care about the template. You only need these two screenshots to understand.


@awesomeonion @Ana

Description if screenshots didn't help

Any time a blank conditional is run, your project freezes, regardless of the webplayer version. This happens because the empty ability UUID is deleted when it should have a UUID zero reference (maybe a UUID of “0” so that every blank control script leads to that).

well, now given the more info, I am not sure

The More Info

For some reason, this only occurs when the control script of an if or if/else statement is run (basically, it only happens if the true statement is left blank). Control False Script and Control Script of Repeats and Draw blocks are not affected

15 Likes

I can have first reply

8 Likes

That’s good to know. But also kinda annoying.

Does it happen with a blank else in a check if else?

First noncreator reply :stuck_out_tongue:

6 Likes

Thanks for telling me!
This happens often to me, now I know why!

4 Likes

The problem is that the project has no clue what it’s checking for so it’s checking for nothing and it’s not getting to the next block lol

5 Likes

Specified in more info. Control False Script is not affected

4 Likes

Technically, yes. Because blank abilities are deleted and there is no reference point. But it only happens if control true is left empty for some reason

6 Likes

if nil {
Print(“I am nil”)
}

3 Likes

For some reason I can’t recreate it

2 Likes

@awesomeonion this is the bug

3 Likes

You must have not updated and tried it on a new draft yet.

4 Likes

I believe I updated, my player version is 1.1.0
Hopscotch Version 3.36.0

2 Likes

My screenshot doesn’t do the same thing? How odd. Try it on a new draft if you have not already

3 Likes

Interestingly enough, when I do

If ___ == ____ { do something }

It will work and do the something
But I guess that makes sense

1 Like

I tried it on a new draft, new account, and old draft, but nothing happens

2 Likes

Hopscotch 3.36.1 is the app Version

3 Likes

ooh I will update right now

Yep, it froze
That is so weird

1 Like

This is correct. We’ll work on a patch

8 Likes

That is perfectly normal.

@FearlessPhoenix can we clivecate this?