Search Unity

Bug Ampersand symbol not supported by UI Builder 0.10.0

Discussion in 'UIElements' started by alexanderameye, Jan 16, 2020 at 5:22 PM.

  1. alexanderameye

    alexanderameye

    Joined:
    Nov 27, 2013
    Posts:
    968
    When saving an uxml file designed with UI builder that has an ampersand symbol in it, I get this error when trying to save it. I don't have this issue when I remove the symbol.

    upload_2020-1-16_18-20-3.png

    I have reason to believe the '&' symbol is causing this issue since simply removing it fixes the issue. Is the ampersand symbol '&' causing these issues? I'm on version 0.10.0 of the UI builder package on Unity 2019.3.

    Alex
     
  2. polerin

    polerin

    Joined:
    Apr 11, 2013
    Posts:
    7
    you might be able to use
    &
     
  3. Wobbers

    Wobbers

    Joined:
    Dec 31, 2017
    Posts:
    20
    The & is saved to uxml as & and not as & as it should be. You can replace that in the uxml and it will work again. But when loading the fixed uxml with ui builder and saving it again, the & will again be overwritten by &.

    I wrote a bug report for this but dont have the case number atm.
     
    polerin likes this.
unityunity