Search Issue Tracker
Fixed
Fixed in 2021.3.21f1, 2022.2.11f1, 2023.1.0b9, 2023.2.0a6
Votes
0
Found in
2021.3.8f1
2022.1.13f1
2022.2.0b3
2023.1.0a5
2023.2.0a1
Issue ID
UUM-11324
Regression
No
ArgumentOutOfRangeException: Value needs to be positive for virtualization is thrown when adjusting Fixed Item Height into the negatives
How to reproduce:
1. Open up any project
2. Create a UI Document with a source and open up UI Builder
3. Create a "TreeView" element
4. Adjust "Fixed Item Height" of the element in the Attributes tab into the negatives
Actual result: "ArgumentOutOfRangeException: Value needs to be positive for virtualization" error is thrown in Console
Expected result: Field shouldn't be able to be set as something that throws an error, field should automatically be set to 0 if that is the case
Reproducible with: 2021.3.8f1, 2022.1.13f1, 2022.2.0b3, 2023.1.0a5
Couldn't test with: 2020.3.37f1 (No UI Builder by default)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Additional empty space becomes visible under "Scripts" in the "Add Component" window
- Longer component titles overlap navigation arrow in the "Add Component" window
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
Resolution Note (fix version 2023.2.0a6):
UI Builder: Exception is no longer thrown when the user tries to enter a negative value for the Fixed Item Height attribute of a ListView, TreeView, etc.
Resolution Note (fix version 2023.1.0b9):
UI Builder: Exception is no longer thrown when the user tries to enter a negative value for the Fixed Item Height attribute of a ListView, TreeView, etc.
Resolution Note (fix version 2022.2.11f1):
UI Builder: Exception is no longer thrown when the user tries to enter a negative value for the Fixed Item Height attribute of a ListView, TreeView, etc.
Resolution Note (fix version 2021.3.21f1):
UI Builder: Exception is no longer thrown when the user tries to enter a negative value for the Fixed Item Height attribute of a ListView, TreeView, etc.