Assistant cannot copy/paste results into command bar... unicode U+2029

While using assistant to replace outdated trees in my world, the result was copy/pasted into the command bar. Everything looks correct, but will not run.

Prompt and code that was copied

Window output after attempting to run in the command bar
image

U+2029 seems to be a “space” but is not runnable in programming.

Expected behavior

Assistant/Output should run AI generated code flawlessly with no “space” errors.

1 Like

I am having trouble reproducing this issue. I have a couple questions:

  1. When copying the code, did you select all of the text and manually copy it, or did you use the copy button that appears when you hover over the code block?

  2. When running the code, did you only try running it in the command bar, or did you also try clicking the “run” button (top-right of code block) to run it?

I copied the code by dragging it over the text box and manually copying it into the command bar using CTRL + C.

I did not realize there was a button available to run the code until after the report was made. It executed properly after clicking the “run” button.

1 Like

Hi @DanBuildsTrains, this issue should now be fixed. Highlighting and copying text in the Assistant window should now be the same as clicking the copy button. Thanks for the report!

1 Like