Description
Expected Behavior
A "When I receive event" in a project should be able to receive broadcasts, given that the correct message name is used, from an imported sprite.
Sprite "Outfielder" is created in one project and exported as a sprite. It has a broadcast with the name "Backdrop 1". That sprite is imported into another project.
When clicked, it should broadcast that name and the "when I receive Backdrop 1 block" in the stage should start its script.
Actual Behavior
The "when I receive block" in the stage is not activated by a broadcast from an imported sprite. Both have the correct message name.
Steps to Reproduce
See the case study: https://scratch.mit.edu/projects/1168628637/
Steps:
- Create a new project with the sprite "outfielder". Add a single script "when clicked" broadcast message "Backdrop 1".
- Export the outfielder sprite.
- Create a new project with banana sprite and add backdrops for "Bench with View", "Chalkboard", and "Canyon".
- Add when I receive broadcasts for "Backdrop 1" and "Backdrop 2". "Backdrop 1" script switches to the Canyon backdrop and "Backdrop 2" switches to the
Chalkboard backdrop. - Import the Outfielder sprite.
- Click on the banana and see the Chalkboard backdrop.
- Click on the outfielder and notice that nothing happens.
System Details
I created this on my Windows 10 desktop using the offline Scratch editor.
Forum topic.
This is related to the bug reported here https://scratch.mit.edu/discuss/topic/819521/