Steps to reproduce:
- Create a new project using Universal 3D template
- Go to Edit > Preferences > Search and change the "Object Selector" dropdown from "Classic" to "Advanced"
- Create a new UXML Document asset and open it in UI Builder
- Add a Visual Element to the Hierarchy
- In the Inspector, in Bindings foldout, click on the "None (Scriptable Object) object picker
- Select any incompatible item, for example - Font Asset
- Save the file
- Observe the Console
Actual results: "Assertion failed on expression: 'type != SubFilterType::Exact'", "Assertion failed on expression: '!subFilter.dbPath.empty() || subFilter.type != SubFilterType::Exact'", "An infinite import loop has been detected." errors and UXML files become corrupted
Expected results: Incompatible items should not be available for selection in the 6th step
Reproducible with versions: 6000.0.71f1, 6000.3.11f1, 6000.4.0f1, 6000.5.0a9, 6000.6.0a1
Tested on (OS): Windows 11
Notes:
- Even with "Classic" Object Selector, some shown options are not valid for the property; therefore, I assume they should not be shown and available for selecting
- Additionally, the Editor sometimes crashes when trying to close it