/dialogue does not correctly respect "rawtext" arguments
Partner Rank: 3
Verification Builds: 1.19.0 (9930166, W10)
Regression Builds: Never?
Summary: /dialogue does not correctly respect "rawtext" arguments
Affects currently Live Content: No (but is limiting future content)
Impact: Limited functionality in dialogues, difficult to workaround
Repro Steps:
Please find a .mctemplate file attached with a test case for this bug. Press the buttons in-game to repro. Or run the following commands manually:
- Run /function say_1, observe that rawtext works correctly with "selector".
- In survival mode, run /function test_1. Observe that the raw text does not work correctly with "selector".
- Run /function say_2, observe that rawtext works correctly.
- In survival mode, run /function test_2. Observe that the raw text does not work correctly with "selector" and "score".
I have spoken with Fanny Vadillo Herrera, who asked the EDU team about this. Apparently, the text is resolving client-side, and have subsequently asked us to file this bug.
Observed Results:
✅ Chat text populates these selectors correctly.

❌ NPC Dialogue does not populate these selectors correctly.

Only string literal {"text":"foobar"} appear to work with the "with" args.
Expected Results:
The dialogue

Screenshots/Videos attached: Yes
Notes:
- .mctemplate also attached
- I have also separated out the key info in a GitHub gist for your convenience https://gist.github.com/jamiechapman/f1f83e52b793e05cb3a98e9da2e9d4f7