Skip to content

Variable name with special character causes all stacks to be hidden and program will not work #1077

@Mr-Dave2

Description

@Mr-Dave2

Expected Behavior

Program stacks should be visible and the program should execute as it does on Scratch 2.0

Please describe what should happen

Variable names, even ones with Unicode characters, should have no effect on displaying program stacks or how the program executes.

Actual Behavior

Stacks and the variable are not visible and the program will not work.

Steps to Reproduce

I don't know where this character came from. I have tried other Unicode characters and I have not found another one that causes any problems. Credit to @shu279 for creating variable names that start with �. I was playing "Cat's Step Adventure -Part1-" https://scratch.mit.edu/projects/194603038 by shu279 and wanted to try it on Scratch 3.0 but it would not work and none of the stacks could be seen.

I did a cut-n-paste to create a variable with the special-character name in a new Scratch 2.0 project (https://scratch.mit.edu/projects/217845144/) and then created a small stack that used that variable. When loaded into Scratch 3.0, the stack is not visible and the program will not work.

I also tried a cut-n-paste into vim and the character showed up as a control-H. Vim does not support Unicode so this probably does not mean anything.

Operating System and Browser

Windows 7 (64 bit), Chrome 65.0.3325.181

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions