The bug
When using local coordinates in `execute` or `detect`, it always uses the default rotation facing south.
How to reproduce
/execute @s ^ ^ ^1 detect ~ ~ ~ stone say found stone
This will trigger when there is a stone block south of you, instead of when there is a stone block in front of you.
Thank you for your report!
We're actually already tracking this issue at MCPE-29942, so we will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki