Self variable in message rules breaks project when self variable is empty

Use this template to make awesome bug reports:

Your username: Petrichor (ish)

What kind of device are you using?: iPhone 8

1 sentence description of the problem (I was doing _________, and then __________ happened): If you have a block which listens for a message, and the message is an object variable, if the variable is not set to any value, when any message is broadcast, the project will break and givce the “womp, something went wrong” message.

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

  1. Create an object variable but do not set it to anything.
  2. Add a when I recieve message with the variable inside of it.
  3. Send any message
10 Likes

Weird. I’m thinking

3 Likes

What are you trying to do @Petrichor

3 Likes

Maybe make a link to show what you mean

2 Likes

I see what you mean. It might be helpful to grab a few screenshots though.

5 Likes

2 Likes

:exploding_head:

1 Like

It doesn’t matter if the variable is empty or not. Either way “womps” the project.

3 Likes

Yeah, I noticed that after I made the post.

4 Likes

This really limits the capabilities of the Broadcast block and can be very confusing.

(@AwesomeOnion @Elizabeth)

3 Likes

This is extremely annoying…
:(

2 Likes

Thanks for reporting - we are on it!

1 Like