Skip to content

Diagnostics ​

Every message AUI can produce. Codes are stable: one is never renumbered or reused.

Messages look like this in the console, and are clickable:

[AUI] Assets/UI/Shop.aui:14:23 error AUI201: unknown style property 'colour'
RangeArea
0xxmarkup syntax
1xxmarkup semantics
2xxstylesheet
3xxlanguages
4xxlayout
5xxbuild and codegen (editor only)
6xxfonts (editor only)

AUI/Validate compiles every view and prints all of them, including warnings a successful build would not stop for.

0xx Markup syntax ​

CodeMeaning and fix
AUI001Unexpected character. Usually a stray < or > in text; escape it as &lt; / &gt;
AUI002A tag was never closed. Close it, or make it self-closing (<text ... />)
AUI003Closing tag does not match the open one
AUI004More than one root element. A .aui has exactly one <view>
AUI005Attribute value is not quoted. Write max="8", not max=8
AUI006The same attribute twice on one element
AUI007The file has no content
AUI008A bare & that is not an entity. Write &amp;
AUI009Unknown entity. Supported: &lt; &gt; &amp; &quot; &apos; &nbsp; &#NN; &#xHH;
AUI010Text outside the root element
AUI011A <!-- with no -->
AUI012An attribute quote was never closed

1xx Markup semantics ​

CodeMeaning and fix
AUI100Unknown tag, and no .aui of that name exists. Check spelling; the message suggests a near match
AUI101That attribute is not allowed on this element. See elements
AUI102Two elements share an id, or two ids, bindings or nested views produce the same generated C# member (save-all and saveall both become E_SAVEALL; two <Card/> without ids both become childCard; {itemsCount} next to <repeat id="items">). Rename one
AUI103name does not equal the file stem. Rename one of them
AUI104The root element is not <view>
AUI105A <repeat> must have exactly one template child, plus an optional <empty>
AUI106A <tab>'s page names no page in the group
AUI107A nested view was used but Name.aui does not exist
AUI108One binding name used with two different types. Rename one
AUI109A handler value is not a C# identifier
AUI110A required attribute is missing (a <view> without name, for instance)
AUI111An attribute value does not parse for that attribute (a literal passed to a typed nested-view prop included). As a warning: hidden on an element with icon= or key=, which bakes at the wrong size; use if="{flag}"
AUI112The element is not allowed there. See where each element may go. Also select, pages and tabs inside a <repeat> or <template>: their runtime tables are per element, not per row
AUI113Views nest each other in a cycle
AUI114A <pages> group nothing drives. Add a <tabs>, or select pages from code
AUI115A <text> has more than one of key, text and literal content. Pick one
AUI116Malformed {binding}, or a binding whose name collides with an AuiView member
AUI117Literal, untranslated text. Informational, so you can find every string that will stay English
AUI118{item.x} used outside a <repeat> or <template>
AUI119No such icon. See icons
AUI120A repeat's max is outside 1 to 64
AUI121An attribute that is not a declared <prop> on a child that declares props
AUI122Malformed <prop> declaration

2xx Stylesheet ​

CodeMeaning and fix
AUI200Stylesheet syntax error, including a --variable declared outside :root (variables are sheet-wide, so that is the only place they may be written)
AUI201Unknown property. See style properties
AUI202The value does not parse for that property's kind, an unterminated ( in a value, or a negative grow, opacity, scale or line-height
AUI203var(--x) with no :root declaration. Define it, or use var(--x, fallback); the fallback may itself be a var()
AUI204Unknown pseudo-state. Only hover, pressed, selected, disabled
AUI205Unsupported selector, usually a descendant combinator (.card text). Give the child its own class
AUI206A rule no element matches. Warning; often a typo or a leftover
AUI207A class used in markup that no sheet defines
AUI208<link href> points at a file that does not exist
AUI209Malformed transition value
AUI210A state rule sets a property that cannot be animated. Only color, background, border, icon-color, opacity, scale, offset are allowed
AUI211More than 64 regular classes visible to one view. Move one-off looks into style="" or star classes
AUI212A bake-only property on a class only reachable at runtime. radius, font-weight, page-transition and show cannot change in-world
AUI213A bound style value mixing bindings with literal text (width: {n}mm), or an unbindable property
AUI214More than 256 star classes

3xx Languages ​

CodeMeaning and fix
AUI300Key missing in some languages. Warning, and it lists which
AUI301Key missing in the default language. An error; the view will not build
AUI302Language JSON syntax error. Arrays and nulls are not allowed
AUI303key= names a key no language file defines
AUI304A {placeholder} in the string with no matching args binding
AUI305No language files found. Create at least the default one
AUI306The same flattened key defined twice
AUI307Placeholders differ between languages, or from what args supplies

See languages.

4xx Layout ​

CodeMeaning and fix
AUI400Content overflows even after proportional shrinking. Enlarge the view, or give the text a max-width and wrap="true"
AUI401A solved rectangle has negative size
AUI402position: absolute with no edge set
AUI403An explicit size and the opposite edge. The size wins
AUI404An edge on a non-absolute element. Ignored
AUI405display or position on the root view

5xx Build and codegen ​

These come from the build queue rather than a compile, so they carry no file position; the message names the view.

CodeMeaning and fix
AUI500The class in Name.g.cs is not available yet. Normal once right after the source is written; otherwise a compile error elsewhere. Fix it and save again
AUI501UdonSharp produced no program for the view. A handler named in markup with no method (or the wrong signature) is the usual cause; read the UdonSharp errors above it
AUI502Reserved for a handler check at codegen time; today a missing handler surfaces as AUI501 plus the C# error
AUI503The prefab builder failed, or a view was given up on after four attempts. The message says which step it was stuck on and, for a nested view, which child prefab it waited for
AUI504A required table was not exported to the Udon heap. Rebuild; if it persists, the runtime package did not compile

6xx Fonts ​

CodeMeaning and fix
AUI600The character set changed since the last bake (checked whenever the language table is rebaked). Run AUI/Bake Fonts
AUI601A character has no glyph in any source font. This is what boxes in-world look like at build time
AUI602A source font under Fonts/src is missing

Next ​