[UI Toolkit] Please improve USS property error message to show property ID

When writing an incorrect property name in USS (UI Toolkit StyleSheet), the error message only shows ‘Unexpected property id Unknown’. Since this doesn’t specify which property is causing the issue, it’s very difficult to locate the problem in the USS file.

Please enhance the error logging to include the specific property ID that’s causing the error.

Hi
Could you please file a bug report for this?

Steps to Reproduce

  1. Add the following single line of USS code:
border-top: 1px solid var(--color-border);
  1. Save and view the console