All command blocks with /execute made before ~1.19 with experiments on worked in that time but, after the update, despite having proper syntax, throw an error e.g. "Unexpected "as" at /execute >>as<< @e[type=..."
Steps to Reproduce:
Make a command block before ~1.19 with "upcoming creator features" on
Add a "new" execute command (execute as, execute at etc) and turn on "last output"
Update the game
Open the command block's UI
(not possible for mobile anymore, which I was using)
Observed Results:
It throws an error
Expected Results:
It should not throw an error
Notes:
I am not exactly sure when this happened, but I think it was 1.19. Tested this by turning on and off and cloning with a structure block. An error was still thrown. I spent a lot of time on a command block thing using the execute command and it doesn't work anymore, I do not want to re-make the whole thing. Just to check, I ran a simple "/execute as @a run say test" at the same time and that worked for some reason.
These commands were all different, but most of them follower the structure "execute as [target] at @s run [command]
Linked issues
duplicates 1
Comments 2
Thank you for your report!
We're tracking this issue in MCPE-164725, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Please be specific as the the exact and complete command(s) you are using in the steps to reproduce.